mirror of
https://github.com/kogakure/website-11ty-kogakure.de.git
synced 2026-02-03 20:25:30 +00:00
fix: bug with multicolumn and pseudo selectors in Safari
Safari has a bug that hides the content of pseudo selectors (::before, ::after) when `column-count` is applied to the container. The null transform hack solves the issue: https://stackoverflow.com/a/60849697/331361
This commit is contained in:
@@ -80,6 +80,9 @@
|
|||||||
inset-inline-start: -2.5rem;
|
inset-inline-start: -2.5rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
text-align: end;
|
text-align: end;
|
||||||
|
/** Null transform hack to fix Safari bug
|
||||||
|
* https://stackoverflow.com/a/60849697/331361 **/
|
||||||
|
transform: translate3d(0, 0, 0);
|
||||||
width: 2rem;
|
width: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user