From 4e84285324cac642dc59982c865b1faddcebba38 Mon Sep 17 00:00:00 2001 From: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com> Date: Tue, 21 May 2024 19:34:12 +0900 Subject: [PATCH] tweak style --- .../src/components/MkVisibilityPicker.vue | 38 ++++++++++++------- 1 file changed, 25 insertions(+), 13 deletions(-) diff --git a/packages/frontend/src/components/MkVisibilityPicker.vue b/packages/frontend/src/components/MkVisibilityPicker.vue index e29a5d7c92..429355eb5f 100644 --- a/packages/frontend/src/components/MkVisibilityPicker.vue +++ b/packages/frontend/src/components/MkVisibilityPicker.vue @@ -12,29 +12,29 @@ SPDX-License-Identifier: AGPL-3.0-only @@ -219,6 +218,11 @@ fetchChannels(); .body { flex: 1 1 auto; + min-width: 0; +} + +.itemTitle, +.itemDescription { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -236,6 +240,10 @@ fetchChannels(); .channelButton { position: relative; + .itemDescription { + max-width: 200px; + } + &::before { content: ''; position: absolute; @@ -248,4 +256,8 @@ fetchChannels(); pointer-events: none; } } + +.root.asDrawer .channelButton .itemDescription { + max-width: 100%; +}