Created
December 6, 2023 11:45
-
-
Save penx/076dacff235ff720d9a331959992af75 to your computer and use it in GitHub Desktop.
Radix themes/chromium issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<style> | |
:where(.rt-Inset) > * { | |
--margin-top-override: initial; | |
} | |
.rt-Inset:where(.rt-r-side-all) { | |
--margin-top-override: 0px; | |
} | |
.rt-r-m-8 { | |
margin: var(--margin-top-override, 48px); | |
} | |
</style> | |
</head> | |
<body> | |
<div class="rt-Inset rt-r-side-all"> | |
<div> | |
<div class="rt-r-m-8">Item 1</div> | |
<div class="rt-r-m-8">Item 2</div> | |
</div> | |
</div> | |
<script>setTimeout(() => { | |
document.body.style.pointerEvents = "none"; | |
}, 1000);</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment