Skip to content

Commit a0f0889

Browse files
committed
feat: port css to stop editor buttons from changing size when focusing
1 parent 8991077 commit a0f0889

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/layout/Editor.vue

+5-2
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ export default {
742742
height: 3rem;
743743
text-align: right;
744744
width: 100%;
745-
button {
745+
button, button:hover, button:focus {
746746
margin-right: 1.9%;
747747
padding: 0.35rem 1rem;
748748
&:last-child { margin-right: 0; }
@@ -751,7 +751,10 @@ export default {
751751
background-color: transparent;
752752
color: $secondary-font-color;
753753
display: inline-block;
754-
&:hover { color: $color-primary; }
754+
&:hover {
755+
color: $color-primary;
756+
background-color: transparent;
757+
}
755758
}
756759
}
757760
}

0 commit comments

Comments
 (0)