Skip to content

Commit

Permalink
Fix margin top alignment issue on Safari (daattali#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
lexicalunit authored Dec 8, 2020
1 parent 5c72724 commit 57bfcb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion assets/css/beautifuljekyll.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 57bfcb3

Please sign in to comment.