Skip to content

Commit f638cb8

Browse files
committed
style: enhance focus styles and adjust Toastify container padding
1 parent f922943 commit f638cb8

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

web/src/global.css

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,15 @@ html {
5353
box-sizing: inherit;
5454
}
5555

56-
*:focus {
56+
:focus:not(:focus-visible) {
5757
outline: none;
5858
}
5959

60+
:focus-visible {
61+
outline: 2px solid var(--klerosUIComponentsPrimaryBlue);
62+
outline-offset: 2px;
63+
}
64+
6065
h1 {
6166
margin: 0 0 16px 0;
6267
font-weight: 600;
@@ -138,9 +143,9 @@ ul {
138143
--os-handle-bg-active: var(--color-lavender-purple);
139144
}
140145

141-
[class*="Toastify__toast-container"] {
146+
.Toastify__toast-container.Toastify__toast-container {
142147
top: unset;
143-
padding-top: 20px !important;
148+
padding-top: 20px;
144149
}
145150

146151
/* Custom Scrollbar */

0 commit comments

Comments
 (0)