Skip to content

Commit

Permalink
change .heti-adjacent-half to Firefox-or-Safari-only style
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAMS committed Dec 19, 2024
1 parent 0746de9 commit db6fd07
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions lib/helpers/_add-on.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Author: Sivan [[email protected]]
// Author: Sivan [[email protected]], Kika [[email protected]]
// Description: define add-ons.
@import "../variables";

Expand All @@ -25,8 +25,17 @@
display: inline;
}

.heti-adjacent-half {
margin-inline-end: -0.5em;
// chrome do not need, only Firefox and Safari need margin-inline-end, see issue https://github.com/sivan/heti/issues/124
@-moz-document url-prefix(){
.heti-adjacent-half {
margin-inline-end: -0.5em;
}
}

_::-webkit-full-page-media, _:future, :root .safari_only{
.heti-adjacent-half {
margin-inline-end: -0.5em;
}
}

.heti-adjacent-quarter {
Expand Down

0 comments on commit db6fd07

Please sign in to comment.