hive ui: hide the shell's page heading, which the dashboard showed as a second title
This commit is contained in:
parent
8e2844ec92
commit
2d3da56907
1 changed files with 34 additions and 13 deletions
|
|
@ -256,3 +256,19 @@
|
|||
:root[data-motion="allow"] .shell-body {
|
||||
animation: shell-page-enter 160ms ease;
|
||||
}
|
||||
|
||||
/* Text for a screen reader that is not drawn: the page's `<h1>`. Here, not in a
|
||||
page's own stylesheet, because every page on the shell draws that `<h1>`: the
|
||||
hive dashboard has no rule of its own for it and showed it as a second,
|
||||
large title under the active tab. */
|
||||
.ui-visually-hidden {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue