diff options
author | geireann <geireann.lindfield@gmail.com> | 2024-04-25 12:02:00 -0400 |
---|---|---|
committer | geireann <geireann.lindfield@gmail.com> | 2024-04-25 12:02:00 -0400 |
commit | bd3b34cce2ad85bfc96c16304b532d1510fd359e (patch) | |
tree | 3b8f85d19bc754a23adad5160ce0e6829f805b9a | |
parent | 8928ba1f332e319cab025987a098c87de607e853 (diff) |
fixed linear menu to not have scroll bar automatically on firefox
-rw-r--r-- | eslint.config.mjs | 18 | ||||
-rw-r--r-- | src/client/views/collections/CollectionMenu.scss | 2 |
2 files changed, 19 insertions, 1 deletions
diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 000000000..6c2a28393 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,18 @@ +import globals from "globals"; +import pluginReactConfig from "eslint-plugin-react/configs/recommended.js"; + +import path from "path"; +import { fileURLToPath } from "url"; +import { FlatCompat } from "@eslint/eslintrc"; +import pluginJs from "@eslint/js"; + +// mimic CommonJS variables -- not needed if using CommonJS +const __filename = fileURLToPath(import.meta.url); +const __dirname = path.dirname(__filename); +const compat = new FlatCompat({baseDirectory: __dirname, recommendedConfig: pluginJs.configs.recommended}); + +export default [ + {languageOptions: { globals: globals.browser }}, + ...compat.extends("standard-with-typescript"), + pluginReactConfig, +];
\ No newline at end of file diff --git a/src/client/views/collections/CollectionMenu.scss b/src/client/views/collections/CollectionMenu.scss index 5d46649b2..3ec875df4 100644 --- a/src/client/views/collections/CollectionMenu.scss +++ b/src/client/views/collections/CollectionMenu.scss @@ -10,7 +10,7 @@ border-bottom: $standard-border; padding: 0 10px; align-items: center; - overflow-x: scroll; + overflow-x: auto; &::-webkit-scrollbar { display: none; } |