mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-24 18:32:41 +00:00
adjust CSS to support Firefox
Set's a non-ideal but functional css style for the box when using Firefox so the box is at least visible.
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
.anchored-trigger {
|
||||
anchor-name: --view-settings;
|
||||
@supports (anchor-name: --view-settings){
|
||||
anchor-name: --view-settings;
|
||||
}
|
||||
&.active {
|
||||
background-color: #444444;
|
||||
}
|
||||
|
||||
}
|
||||
.anchored-box {
|
||||
position-anchor: --view-settings;
|
||||
position:absolute;
|
||||
inset-block-start: anchor(bottom);
|
||||
top: 30px;
|
||||
@supports (position-anchor: --view-settings){
|
||||
position-anchor: --view-settings;
|
||||
inset-block-start: anchor(bottom);
|
||||
}
|
||||
justify-self: anchor-center;
|
||||
visibility: hidden;
|
||||
&.active {
|
||||
|
||||
Reference in New Issue
Block a user