Improve usability

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

View file

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

View file

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