Improve usability

This commit is contained in:
syuilo 2020-11-01 22:49:08 +09:00
parent d3e764d7f9
commit 666c8c0498
2 changed files with 11 additions and 0 deletions

View file

@ -180,6 +180,14 @@ export default defineComponent({
&.api { &.api {
> div { > div {
&:not(.header) {
cursor: pointer;
&:hover {
color: var(--accent);
}
}
> .state { > .state {
&.pending { &.pending {
color: var(--warn); color: var(--warn);

View file

@ -119,6 +119,9 @@ export default defineComponent({
z: Number(document.defaultView.getComputedStyle(this.$el, null).zIndex) z: Number(document.defaultView.getComputedStyle(this.$el, null).zIndex)
}); });
//
this.top();
window.addEventListener('resize', this.onBrowserResize); window.addEventListener('resize', this.onBrowserResize);
}, },