Skip to content

Commit b889d43

Browse files
committed
Add rounded corners to dropdown and on link hover
1 parent 8eb3b42 commit b889d43

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/css/custom.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,14 @@ html[data-theme="dark"] .tooltip-glossary {
260260

261261
.supportDropdownContent {
262262
background-color: #f9f9f9;
263-
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
263+
border-radius: 8px;
264+
box-shadow: var(--ifm-global-shadow-md);
264265
color: var(--ifm-color-emphasis-700);
265266
font-size: 14px;
266267
min-width: 303px;
267268
opacity: 0;
269+
overflow: hidden;
270+
padding: 8px 0px;
268271
position: absolute;
269272
right: 0;
270273
transform: translateY(-10px);
@@ -323,12 +326,15 @@ html[data-theme="dark"] .tooltip-glossary {
323326
.supportDropdownContent a {
324327
color: black;
325328
display: block;
326-
padding: 6px 12px;
329+
margin: 4px 10px;
330+
padding: 4px 10px;
327331
text-decoration: none;
328332
}
329333

330334
.supportDropdownContent a:hover {
331335
background-color: var(--ifm-dropdown-hover-background-color);
336+
border-radius: 8px;
337+
overflow: hidden;
332338
}
333339

334340
html[data-theme="dark"] .supportDropBtn {

0 commit comments

Comments
 (0)