Skip to content

Commit 46c9bf3

Browse files
committed
style: signup page keyboard focus ring styling
1 parent 512dc0f commit 46c9bf3

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

pages/signup.vue

+9-2
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,23 @@ const content = computed(() => {
5454
padding-left: 1.5625rem;
5555
margin-bottom: toRem(17);
5656
:deep(.button-content) {
57+
display: flex;
58+
align-items: center;
5759
&::before {
5860
content: '';
5961
position: absolute;
60-
left: 0.5rem;
62+
top: 0;
63+
left: -1rem;
6164
@include transitionDefault;
6265
}
6366
&::after {
6467
display: none;
6568
}
66-
&:hover {
69+
}
70+
&:hover,
71+
&:focus-visible {
72+
padding-right: 0;
73+
:deep(.button-content) {
6774
&:before {
6875
transform: translateX(-0.5rem);
6976
}

0 commit comments

Comments
 (0)