Skip to content

Commit

Permalink
Restored firefox scrollbars from original Tidy 5e. (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgar authored Nov 21, 2023
1 parent e37660b commit 7cab265
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/scss/core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
background: var(--t5ek-sheet-background);
}

/* Scrollbars for Firefox 🦊 */
* {
scrollbar-width: thin;
scrollbar-color: #782e22 #0000;
}

&.settings {
@import './partials/settings';
}
Expand Down
3 changes: 1 addition & 2 deletions src/sheets/settings/theme/ThemeSettingsSheet.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</script>

<section class="theme-settings-wrapper" on:drop={onDrop} aria-label="dropzone">
<div class="theme-settings-form">
<div class="theme-settings-form scroll-container">
<h2 class="header flex-row justify-content-space-between">
{localize('T5EK.ThemeSettings.Sheet.header')}
<ThemeSettingSheetMenu
Expand Down Expand Up @@ -160,7 +160,6 @@
.theme-settings-form {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 0.5rem;
Expand Down

0 comments on commit 7cab265

Please sign in to comment.