From b3779875d0845cebc8cd0d8e937ce0979ba846f7 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 9 Oct 2021 00:46:52 +0900 Subject: :art: --- src/client/components/modal-page-window.vue | 46 ++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 11 deletions(-) (limited to 'src/client/components') diff --git a/src/client/components/modal-page-window.vue b/src/client/components/modal-page-window.vue index f57516360d..31931a89b7 100644 --- a/src/client/components/modal-page-window.vue +++ b/src/client/components/modal-page-window.vue @@ -2,12 +2,16 @@
- - + + + + + {{ pageInfo.title }} +
- + @@ -173,19 +177,39 @@ export default defineComponent({ $height-narrow: 42px; display: flex; flex-shrink: 0; + height: $height; + line-height: $height; + font-weight: bold; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; box-shadow: 0px 1px var(--divider); - > .title { - flex: 1; + > button { height: $height; - font-weight: bold; - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; + width: $height; + + &:hover { + color: var(--fgHighlighted); + } + } + + @media (max-width: 500px) { + height: $height-narrow; + line-height: $height-narrow; + padding-left: 16px; - @media (max-width: 500px) { + > button { height: $height-narrow; - padding-left: 16px; + width: $height-narrow; + } + } + + > .title { + flex: 1; + + > .icon { + margin-right: 0.5em; } } } -- cgit v1.2.3-freya