mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed cutoff long logos in sidebar
This commit is contained in:
parent
5faf8cc186
commit
5462bf5b0c
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.d6be258b.min.css.map
Normal file
1
material/assets/stylesheets/main.d6be258b.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -34,7 +34,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">
|
||||||
|
@ -63,7 +63,9 @@
|
|||||||
:is(img, svg) {
|
:is(img, svg) {
|
||||||
display: block;
|
display: block;
|
||||||
width: auto;
|
width: auto;
|
||||||
|
max-width: 100%;
|
||||||
height: px2rem(48px);
|
height: px2rem(48px);
|
||||||
|
object-fit: contain;
|
||||||
fill: currentcolor;
|
fill: currentcolor;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -247,7 +249,7 @@
|
|||||||
.md-logo {
|
.md-logo {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: px2rem(4px);
|
top: px2rem(4px);
|
||||||
inset-inline-start: px2rem(4px);
|
inset-inline: px2rem(4px);
|
||||||
display: block;
|
display: block;
|
||||||
margin: px2rem(4px);
|
margin: px2rem(4px);
|
||||||
padding: px2rem(8px);
|
padding: px2rem(8px);
|
||||||
|
Loading…
Reference in New Issue
Block a user