Fold sidebar (#6610)

* wip

* wip
This commit is contained in:
syuilo 2020-08-01 10:53:23 +09:00 committed by GitHub
parent de3b365563
commit 66b07578c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 138 additions and 88 deletions

View file

@ -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 {