Remove inset shorthand property for Qt5 support (#2180)
This commit is contained in:
parent
2504ad0b99
commit
c60a1c8ebd
@ -74,12 +74,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
|
|
||||||
.chevron {
|
.chevron {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0 0 0 auto;
|
top: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
left: auto;
|
||||||
border-left: 1px solid var(--border-subtle);
|
border-left: 1px solid var(--border-subtle);
|
||||||
}
|
}
|
||||||
:global([dir="rtl"]) {
|
:global([dir="rtl"]) {
|
||||||
.chevron {
|
.chevron {
|
||||||
inset: 0 auto 0 0;
|
left: 0;
|
||||||
|
right: auto;
|
||||||
border-left: none;
|
border-left: none;
|
||||||
border-right: 1px solid var(--border-subtle);
|
border-right: 1px solid var(--border-subtle);
|
||||||
}
|
}
|
||||||
|
@ -174,12 +174,16 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||||||
@include button.base($border: false);
|
@include button.base($border: false);
|
||||||
|
|
||||||
&.left {
|
&.left {
|
||||||
inset: 0 auto 0 0;
|
top: 0;
|
||||||
|
right: auto;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
border-right: 1px solid var(--border);
|
border-right: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
&.right {
|
&.right {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0 0 0 auto;
|
right: 0;
|
||||||
|
left: auto;
|
||||||
border-left: 1px solid var(--border);
|
border-left: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,13 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
height: $icon-size;
|
height: $icon-size;
|
||||||
width: $icon-size;
|
width: $icon-size;
|
||||||
inset: $padding;
|
|
||||||
|
// replace with inset once Qt5 support is dropped
|
||||||
|
top: $padding;
|
||||||
|
right: $padding;
|
||||||
|
bottom: $padding;
|
||||||
|
left: $padding;
|
||||||
|
|
||||||
.nightMode & {
|
.nightMode & {
|
||||||
filter: invert(1);
|
filter: invert(1);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user