Skip to content

Commit d49aa84

Browse files
committed
Fix profile image's top padding in compact view (#14211)
When opening a website's "About" page in compact view (with a narrow browser window), the `profile.jpg` image has no top padding in the `trestles`, `marquee` and `broadside` templates.
1 parent e626825 commit d49aa84

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/resources/projects/website/about/about.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ div.quarto-about-trestles {
172172

173173
@include media-breakpoint-down(lg) {
174174
flex-direction: column;
175-
padding-top: 0em !important;
175+
padding-top: 3em !important;
176176
}
177177

178178
.about-entity {
@@ -224,6 +224,7 @@ div.quarto-about-trestles {
224224
// Marquee
225225
div.quarto-about-marquee {
226226
padding-bottom: 1em;
227+
padding-top: 14px !important;
227228

228229
.about-contents {
229230
display: flex;
@@ -260,6 +261,7 @@ div.quarto-about-broadside {
260261
display: flex;
261262
flex-direction: column;
262263
padding-bottom: 1em;
264+
padding-top: 14px !important;
263265

264266
.about-main {
265267
display: flex !important;

0 commit comments

Comments
 (0)