mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-07 12:57:49 +00:00
fix: weird scrollbars shown on mac systems due to system settings.
This commit is contained in:
@@ -86,10 +86,17 @@
|
||||
</div>
|
||||
</header>
|
||||
<div
|
||||
class="web-code-snippet-content"
|
||||
class="web-code-snippet-content overflow-auto"
|
||||
style={`height: ${height ? height / 16 + 'rem' : 'inherit'}`}
|
||||
>
|
||||
<!-- eslint-disable-next-line svelte/no-at-html-tags -->
|
||||
{@html result}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<style>
|
||||
/* system breaks the corners */
|
||||
.overflow-auto::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user