Add different rules for Firefox below 66
This commit is contained in:
parent
9f55296408
commit
9e1c02f7be
1 changed files with 18 additions and 6 deletions
|
@ -2,12 +2,24 @@
|
||||||
|
|
||||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||||
@-moz-document url("about:addons"){
|
@-moz-document url("about:addons"){
|
||||||
|
/* Test for Firefox > 66 */
|
||||||
|
@supports (inset-block:auto){
|
||||||
#addon-list{
|
#addon-list{
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-areas: "a a";
|
grid-template-areas: "a a";
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
grid-auto-rows: min-content;
|
grid-auto-rows: min-content;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
/* Test for Firefox < 66 */
|
||||||
|
@supports not (inset-block:auto){
|
||||||
|
#addon-list > scrollbox > .scrollbox-innerbox{
|
||||||
|
display: grid;
|
||||||
|
grid-template-areas: "a a";
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
grid-auto-rows: min-content;
|
||||||
|
}
|
||||||
|
}
|
||||||
.control-container{ display: flex; }
|
.control-container{ display: flex; }
|
||||||
.addon-control{ margin: 3px }
|
.addon-control{ margin: 3px }
|
||||||
.addon.card{ padding-bottom: 0px !important; padding-top: 0px !important }
|
.addon.card{ padding-bottom: 0px !important; padding-top: 0px !important }
|
||||||
|
|
Loading…
Reference in a new issue