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 {
|
||||
position: absolute;
|
||||
inset: 0 0 0 auto;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: auto;
|
||||
border-left: 1px solid var(--border-subtle);
|
||||
}
|
||||
:global([dir="rtl"]) {
|
||||
.chevron {
|
||||
inset: 0 auto 0 0;
|
||||
left: 0;
|
||||
right: auto;
|
||||
border-left: none;
|
||||
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);
|
||||
|
||||
&.left {
|
||||
inset: 0 auto 0 0;
|
||||
top: 0;
|
||||
right: auto;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
border-right: 1px solid var(--border);
|
||||
}
|
||||
&.right {
|
||||
position: absolute;
|
||||
inset: 0 0 0 auto;
|
||||
right: 0;
|
||||
left: auto;
|
||||
border-left: 1px solid var(--border);
|
||||
}
|
||||
}
|
||||
|
@ -21,7 +21,13 @@
|
||||
position: absolute;
|
||||
height: $icon-size;
|
||||
width: $icon-size;
|
||||
inset: $padding;
|
||||
|
||||
// replace with inset once Qt5 support is dropped
|
||||
top: $padding;
|
||||
right: $padding;
|
||||
bottom: $padding;
|
||||
left: $padding;
|
||||
|
||||
.nightMode & {
|
||||
filter: invert(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user