Merge pull request #16182 from Snuffleupagus/inset-block
Introduce `inset-block` usage in the viewer CSS
This commit is contained in:
commit
076bb30b6c
@ -258,8 +258,7 @@ body {
|
||||
|
||||
#sidebarContainer {
|
||||
position: absolute;
|
||||
top: 32px;
|
||||
bottom: 0;
|
||||
inset-block: 32px 0;
|
||||
inset-inline-start: calc(-1 * var(--sidebar-width));
|
||||
width: var(--sidebar-width);
|
||||
visibility: hidden;
|
||||
@ -287,8 +286,7 @@ body {
|
||||
}
|
||||
|
||||
#sidebarContent {
|
||||
top: 32px;
|
||||
bottom: 0;
|
||||
inset-block: 32px 0;
|
||||
inset-inline-start: 0;
|
||||
overflow: auto;
|
||||
position: absolute;
|
||||
@ -354,8 +352,7 @@ body {
|
||||
|
||||
#sidebarResizer {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
inset-block: 0;
|
||||
inset-inline-end: -6px;
|
||||
width: 6px;
|
||||
z-index: 200;
|
||||
@ -1166,8 +1163,7 @@ a.secondaryToolbarButton[href="#"] {
|
||||
#layersView {
|
||||
position: absolute;
|
||||
width: calc(100% - 8px);
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
inset-block: 0;
|
||||
padding: 4px 4px 0;
|
||||
overflow: auto;
|
||||
user-select: none;
|
||||
|
Loading…
x
Reference in New Issue
Block a user