aboutsummaryrefslogtreecommitdiff
path: root/src/components/scope_selector
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2024-02-12 17:26:08 +0200
committerHenry Jameson <me@hjkos.com>2024-02-12 17:26:08 +0200
commitae345d2c458bd0952d9b85c2e03060b2d286d320 (patch)
treecc0055345936b37b8431e4d2b9bded6f77714231 /src/components/scope_selector
parent1c5f156af04b6df4cbce8fcf999d752e2500089c (diff)
buttons look great now, including unstyled ones menu items work too
Diffstat (limited to 'src/components/scope_selector')
-rw-r--r--src/components/scope_selector/scope_selector.js8
-rw-r--r--src/components/scope_selector/scope_selector.vue5
2 files changed, 4 insertions, 9 deletions
diff --git a/src/components/scope_selector/scope_selector.js b/src/components/scope_selector/scope_selector.js
index 74bf7284..52cda368 100644
--- a/src/components/scope_selector/scope_selector.js
+++ b/src/components/scope_selector/scope_selector.js
@@ -44,10 +44,10 @@ const ScopeSelector = {
},
css () {
return {
- public: { selected: this.currentScope === 'public' },
- unlisted: { selected: this.currentScope === 'unlisted' },
- private: { selected: this.currentScope === 'private' },
- direct: { selected: this.currentScope === 'direct' }
+ public: { toggled: this.currentScope === 'public' },
+ unlisted: { toggled: this.currentScope === 'unlisted' },
+ private: { toggled: this.currentScope === 'private' },
+ direct: { toggled: this.currentScope === 'direct' }
}
}
},
diff --git a/src/components/scope_selector/scope_selector.vue b/src/components/scope_selector/scope_selector.vue
index d6e7265b..1cb6cdf2 100644
--- a/src/components/scope_selector/scope_selector.vue
+++ b/src/components/scope_selector/scope_selector.vue
@@ -73,11 +73,6 @@
min-width: 1.3em;
min-height: 1.3em;
text-align: center;
-
- &.selected svg {
- color: $fallback--lightText;
- color: var(--lightText, $fallback--lightText);
- }
}
}
</style>