summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkNote.vue
diff options
context:
space:
mode:
authorかっこかり <67428053+kakkokari-gtyih@users.noreply.github.com>2024-10-10 16:12:16 +0900
committerGitHub <noreply@github.com>2024-10-10 16:12:16 +0900
commitb668d161a9a0a2f73c487f3fa6d54fd7597635a5 (patch)
tree23ac69ea9edd0e2beb4e5924a6254f950d6d5a8c /packages/frontend/src/components/MkNote.vue
parentBump version to 2024.10.1-beta.1 (diff)
downloadsharkey-b668d161a9a0a2f73c487f3fa6d54fd7597635a5.tar.gz
sharkey-b668d161a9a0a2f73c487f3fa6d54fd7597635a5.tar.bz2
sharkey-b668d161a9a0a2f73c487f3fa6d54fd7597635a5.zip
refactor(frontend): prefix css variables (UI) (#14739)
* refactor(frontend): prefix css variables * `MI_UI` -> `MI` * fix * `stickyBottom` * stickyTop
Diffstat (limited to 'packages/frontend/src/components/MkNote.vue')
-rw-r--r--packages/frontend/src/components/MkNote.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/frontend/src/components/MkNote.vue b/packages/frontend/src/components/MkNote.vue
index c5f5431dcf..be93b3c529 100644
--- a/packages/frontend/src/components/MkNote.vue
+++ b/packages/frontend/src/components/MkNote.vue
@@ -644,7 +644,7 @@ function emitUpdReaction(emoji: string, delta: number) {
width: calc(100% - 8px);
height: calc(100% - 8px);
border: dashed 2px var(--MI_THEME-focus);
- border-radius: var(--radius);
+ border-radius: var(--MI-radius);
box-sizing: border-box;
}
}
@@ -810,7 +810,7 @@ function emitUpdReaction(emoji: string, delta: number) {
width: 58px;
height: 58px;
position: sticky !important;
- top: calc(22px + var(--stickyTop, 0px));
+ top: calc(22px + var(--MI-stickyTop, 0px));
left: 0;
}
@@ -831,7 +831,7 @@ function emitUpdReaction(emoji: string, delta: number) {
width: 100%;
margin-top: 14px;
position: sticky;
- bottom: calc(var(--stickyBottom, 0px) + 14px);
+ bottom: calc(var(--MI-stickyBottom, 0px) + 14px);
}
.showLessLabel {
@@ -884,7 +884,7 @@ function emitUpdReaction(emoji: string, delta: number) {
.translation {
border: solid 0.5px var(--MI_THEME-divider);
- border-radius: var(--radius);
+ border-radius: var(--MI-radius);
padding: 12px;
margin-top: 8px;
}
@@ -998,7 +998,7 @@ function emitUpdReaction(emoji: string, delta: number) {
margin: 0 10px 0 0;
width: 46px;
height: 46px;
- top: calc(14px + var(--stickyTop, 0px));
+ top: calc(14px + var(--MI-stickyTop, 0px));
}
}