Skip to content

Commit e2feb18

Browse files
authored
Fix margin top alignment issue on Safari (daattali#750)
1 parent 00d377c commit e2feb18

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## Unreleased version
22

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

assets/css/beautifuljekyll.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ img {
311311
position: absolute;
312312
left: 50%;
313313
width: 3.125rem;
314-
margin-top: 3.1rem;
314+
bottom: -1.5rem;
315315
transition: opacity 0.5s ease-in-out;
316316
-webkit-transition: opacity 0.5s ease-in-out;
317317
-moz-transition: opacity 0.5s ease-in-out;
@@ -349,6 +349,7 @@ img {
349349
@media (min-width: 1200px) {
350350
.navbar-custom.top-nav-regular .avatar-container {
351351
width: 6.25rem;
352+
bottom: -1.9375rem;
352353
}
353354

354355
.navbar-custom.top-nav-regular .avatar-container .avatar-img-border {

0 commit comments

Comments
 (0)