Skip to content

Commit

Permalink
fix safari extra padding
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbush committed Nov 13, 2024
1 parent 45c4405 commit d8dfd99
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions postrify-frontend/src/app/components/header/header.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,15 +154,6 @@ import { UserImageService } from '../../services/user-image.service';
flex: 1;
}
@supports (-webkit-touch-callout: none) {
.toggle-container {
display: -webkit-flex;
display: flex;
-webkit-flex: 1;
flex: 1;
}
}
.logo-container {
text-align: center;
}
Expand Down Expand Up @@ -258,6 +249,20 @@ import { UserImageService } from '../../services/user-image.service';
border: 2px solid var(--border-color);
margin-right: 0.5rem;
}
@supports (-webkit-touch-callout: none) {
.toggle-container {
display: -webkit-flex;
display: flex;
-webkit-flex: 1;
flex: 1;
}
.current-photo, .settings-button {
margin: 0rem;
margin-left: 1.5rem;
padding: 0rem;
}
}
`,
],
})
Expand Down

0 comments on commit d8dfd99

Please sign in to comment.