Skip to content

Commit 4bb906e

Browse files
committed
Fix: QTooltip が文言によっては変な箇所で折り返す問題を修正・ツールチップの背景色やデザインを調整
1 parent 2cb0a27 commit 4bb906e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/styles/_index.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ img {
105105
}
106106
}
107107

108+
.q-tooltip {
109+
// 背景色を変更
110+
background-color: rgba(colors.$surface-rgb, 1) !important;
111+
box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.2) !important;
112+
// ツールチップが変な箇所で折り返さないようにする
113+
max-width: none !important;
114+
}
115+
108116
// ダイアログ
109117
.q-dialog,
110118
#q-loading {

0 commit comments

Comments
 (0)