summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-04-27 19:57:19 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-04-27 19:57:19 +0900
commit03e5502d631e6d99d35e98988dd91ee340a474a3 (patch)
treee32ecb400e265522417893d5ad22c8f76344b4ba
parentperf(frontend): use css-native implementation for spacer rather than vue comp... (diff)
downloadsharkey-03e5502d631e6d99d35e98988dd91ee340a474a3.tar.gz
sharkey-03e5502d631e6d99d35e98988dd91ee340a474a3.tar.bz2
sharkey-03e5502d631e6d99d35e98988dd91ee340a474a3.zip
add todo
-rw-r--r--packages/frontend/src/style.scss1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/frontend/src/style.scss b/packages/frontend/src/style.scss
index 03dfbfe94b..4f08854955 100644
--- a/packages/frontend/src/style.scss
+++ b/packages/frontend/src/style.scss
@@ -175,6 +175,7 @@ rt {
text-align: center;
}
+/* TODO: 引数は現在CSS変数経由で受け取っているが、将来的にはattr()を使った方が綺麗そう */
._spacer {
width: 100%;
max-width: calc(min(var(--MI_SPACER-w, 100%), 100%) - (var(--MI_SPACER-max, 24px) * 2));