Skip to content

Commit

Permalink
Fix huge custom logo on standard header (#767)
Browse files Browse the repository at this point in the history
  • Loading branch information
albig authored Nov 13, 2024
1 parent d154c27 commit 1f45be3
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions sass/_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,26 @@ body {
padding: 27px 0;

.img-container {
margin-right: 0.75rem;
}
margin-right: 0.5rem;

.sunflower-logo {
&.sunflower-logo {

img {
width: 55px;
background: transparent;
img {
width: 55px;
background: transparent;
}
}

&.custom-logo {

img {
max-width: 100px;
max-height: 55px;
object-fit: contain;
object-position: right;
}
}

}

&-name {
Expand Down Expand Up @@ -228,7 +239,14 @@ body {
}

.img-container {
margin-right: 0.25rem;
margin-right: 1rem;

&.custom-logo {

img {
max-width: 150px;
}
}
}
}
}
Expand Down Expand Up @@ -269,9 +287,7 @@ body {
background-color: $secondary;
}

margin-right: 1rem;
height: 95px;
width: 95px;
display: flex;
justify-content: center;
align-items: center;
Expand Down

0 comments on commit 1f45be3

Please sign in to comment.