Skip to content

Commit

Permalink
Fixed cutoff long logos in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Feb 3, 2022
1 parent 5faf8cc commit 5462bf5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion material/assets/stylesheets/main.2b4465f4.min.css.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions material/assets/stylesheets/main.d6be258b.min.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.2b4465f4.min.css' | url }}">
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.d6be258b.min.css' | url }}">
{% if config.theme.palette %}
{% set palette = config.theme.palette %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">
Expand Down
4 changes: 3 additions & 1 deletion src/assets/stylesheets/main/layout/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
:is(img, svg) {
display: block;
width: auto;
max-width: 100%;
height: px2rem(48px);
object-fit: contain;
fill: currentcolor;
}
}
Expand Down Expand Up @@ -247,7 +249,7 @@
.md-logo {
position: absolute;
top: px2rem(4px);
inset-inline-start: px2rem(4px);
inset-inline: px2rem(4px);
display: block;
margin: px2rem(4px);
padding: px2rem(8px);
Expand Down

0 comments on commit 5462bf5

Please sign in to comment.