Fix margin top alignment issue on Safari (#750)

This commit is contained in:
Amy Troschinetz 2020-12-07 23:38:52 -08:00 committed by GitHub
parent 00d377c850
commit e2feb189da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
## Unreleased version
- Slightly reworked margins and position for avatar image to resolve an alignment issue on Safari.
- Changed the width at which the navbar collapses to a higher threshold because most modern non-mobile browsers are >1000px
- Fixed bug where navbar secondary level dropdown items didn't inherit te same colour as the primary navbar links
- Fixed bug where the navbar "burger" collapsed button didn't always revert back to a light colour

View File

@ -311,7 +311,7 @@ img {
position: absolute;
left: 50%;
width: 3.125rem;
margin-top: 3.1rem;
bottom: -1.5rem;
transition: opacity 0.5s ease-in-out;
-webkit-transition: opacity 0.5s ease-in-out;
-moz-transition: opacity 0.5s ease-in-out;
@ -349,6 +349,7 @@ img {
@media (min-width: 1200px) {
.navbar-custom.top-nav-regular .avatar-container {
width: 6.25rem;
bottom: -1.9375rem;
}
.navbar-custom.top-nav-regular .avatar-container .avatar-img-border {