Skip to content

Commit

Permalink
fix(frontend): ノート投稿ボタンにホバー時のスタイルが適用されていない (misskey-dev#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiyme authored Nov 5, 2024
1 parent aa1a02d commit 711ab84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/frontend/src/components/MkPostForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ defineExpose({
&:focus-visible {
outline: none;

.submitInner {
> .submitInner {
outline: 2px solid var(--MI_THEME-fgOnAccent);
outline-offset: -4px;
}
Expand All @@ -1146,13 +1146,13 @@ defineExpose({
}

&:not(:disabled):hover {
> .inner {
> .submitInner {
background: linear-gradient(90deg, hsl(from var(--MI_THEME-accent) h s calc(l + 5)), hsl(from var(--MI_THEME-accent) h s calc(l + 5)));
}
}

&:not(:disabled):active {
> .inner {
> .submitInner {
background: linear-gradient(90deg, hsl(from var(--MI_THEME-accent) h s calc(l + 5)), hsl(from var(--MI_THEME-accent) h s calc(l + 5)));
}
}
Expand Down

0 comments on commit 711ab84

Please sign in to comment.