kopia lustrzana https://github.com/shoelace-style/shoelace
Explicitly define all sides
rodzic
8eda1dbfaf
commit
a7ae0a0fb5
|
|
@ -53,6 +53,8 @@
|
||||||
|
|
||||||
.drawer--top .drawer__panel {
|
.drawer--top .drawer__panel {
|
||||||
top: 0;
|
top: 0;
|
||||||
|
right: auto;
|
||||||
|
bottom: auto;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: var(--size);
|
height: var(--size);
|
||||||
|
|
@ -62,12 +64,16 @@
|
||||||
.drawer--right .drawer__panel {
|
.drawer--right .drawer__panel {
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
bottom: auto;
|
||||||
|
left: auto;
|
||||||
width: var(--size);
|
width: var(--size);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
transform: translate(100%, 0);
|
transform: translate(100%, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.drawer--bottom .drawer__panel {
|
.drawer--bottom .drawer__panel {
|
||||||
|
top: auto;
|
||||||
|
right: auto;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -77,6 +83,8 @@
|
||||||
|
|
||||||
.drawer--left .drawer__panel {
|
.drawer--left .drawer__panel {
|
||||||
top: 0;
|
top: 0;
|
||||||
|
right: auto;
|
||||||
|
bottom: auto;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: var(--size);
|
width: var(--size);
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue