Skip to content

Commit 6fc60c9

Browse files
authored
Fixed focus outline
1 parent 5fae726 commit 6fc60c9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/theme/mermaid/pagination.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828

2929
button:focus {
3030
box-shadow: 0 0 0 2px rgba(149, 189, 243, 0.5);
31+
position: relative;
32+
margin-right: -1px;
33+
border-right: 1px solid $gray4;
3134
}
3235

3336
button:hover {
@@ -65,5 +68,9 @@
6568
border-bottom-left-radius: 6px;
6669
border-top-left-radius: 6px;
6770
}
71+
72+
button:last-child:focus {
73+
margin-right: 0;
74+
}
6875
}
6976
}

0 commit comments

Comments
 (0)