Browse Source

Fix margin top alignment issue on Safari (#750)

master
Amy Troschinetz GitHub 4 years ago
parent
commit
e2feb189da
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +2
    -1
      assets/css/beautifuljekyll.css

+ 1
- 0
CHANGELOG.md 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


+ 2
- 1
assets/css/beautifuljekyll.css 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 {


Loading…
Cancel
Save