From 8e717a47c48481fb008dd413f96af8b0372f7ea8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 29 Dec 2020 22:00:02 +0900 Subject: [PATCH] UI tweaks --- src/client/components/ui/button.vue | 2 +- src/client/pages/timeline.vue | 3 +++ src/client/ui/deck/main-column.vue | 19 ++++++++++++++++++- src/client/ui/deck/widgets-column.vue | 4 +++- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/src/client/components/ui/button.vue b/src/client/components/ui/button.vue index 05ef9a76c..3901e8ae4 100644 --- a/src/client/components/ui/button.vue +++ b/src/client/components/ui/button.vue @@ -123,7 +123,7 @@ export default defineComponent({ box-shadow: none; text-decoration: none; background: var(--buttonBg); - border-radius: 8px; + border-radius: 999px; overflow: hidden; &:not(:disabled):hover { diff --git a/src/client/pages/timeline.vue b/src/client/pages/timeline.vue index 3d753997e..cb3ec2a7e 100644 --- a/src/client/pages/timeline.vue +++ b/src/client/pages/timeline.vue @@ -232,6 +232,9 @@ export default defineComponent({ white-space: nowrap; overflow: auto; + // 影の都合上 + position: relative; + > .right { margin-left: auto; } diff --git a/src/client/ui/deck/main-column.vue b/src/client/ui/deck/main-column.vue index f652b01f6..a4f1de44f 100644 --- a/src/client/ui/deck/main-column.vue +++ b/src/client/ui/deck/main-column.vue @@ -7,7 +7,7 @@ - + @@ -16,10 +16,12 @@ diff --git a/src/client/ui/deck/widgets-column.vue b/src/client/ui/deck/widgets-column.vue index 32dab4d86..5cf7dde26 100644 --- a/src/client/ui/deck/widgets-column.vue +++ b/src/client/ui/deck/widgets-column.vue @@ -114,7 +114,9 @@ export default defineComponent({