fix: navbar avatar height, background colors (#42076)

* fix: navbar avatar height

* fix: prevent avatar background change when hovered or focused
This commit is contained in:
Kristofer Koishigawa
2021-05-11 03:45:16 +09:00
committed by GitHub
parent e1c00138a9
commit 94d4b2f553
2 changed files with 17 additions and 1 deletions

View File

@@ -196,6 +196,11 @@
width: 31px;
}
.navatar .avatar-nav-link:hover,
.navatar .avatar-nav-link:focus {
background-color: var(--theme-color);
}
.navatar .default-border {
border: none;
}
@@ -205,6 +210,10 @@
background: var(--secondary-background);
}
.navatar .avatar-container {
height: 100%;
}
.navatar .avatar-container svg,
.navatar .avatar-container img {
object-fit: cover;