summaryrefslogtreecommitdiff
path: root/src/client/components/ui
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-08-01 10:53:23 +0900
committerGitHub <noreply@github.com>2020-08-01 10:53:23 +0900
commit66b07578c57dbdce81c58e3192b1be3a1279e25a (patch)
tree15c3a13ddf739fb264b85818922d2a4285c18c75 /src/client/components/ui
parentchore: Remove debug code (diff)
downloadmisskey-66b07578c57dbdce81c58e3192b1be3a1279e25a.tar.gz
misskey-66b07578c57dbdce81c58e3192b1be3a1279e25a.tar.bz2
misskey-66b07578c57dbdce81c58e3192b1be3a1279e25a.zip
Fold sidebar (#6610)
* wip * wip
Diffstat (limited to 'src/client/components/ui')
-rw-r--r--src/client/components/ui/radio.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/components/ui/radio.vue b/src/client/components/ui/radio.vue
index 0b0fad6773..311cdce32d 100644
--- a/src/client/components/ui/radio.vue
+++ b/src/client/components/ui/radio.vue
@@ -42,6 +42,7 @@ export default Vue.extend({
},
methods: {
toggle() {
+ if (this.disabled) return;
this.$emit('change', this.value);
}
}
@@ -61,7 +62,10 @@ export default Vue.extend({
&.disabled {
opacity: 0.6;
- cursor: not-allowed;
+
+ &, * {
+ cursor: not-allowed !important;
+ }
}
&.checked {