mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed some spacings issues for right-to-left languages
This commit is contained in:
parent
f9f4857af7
commit
53be9f3ec5
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
material/assets/stylesheets/main.db9e7362.min.css
vendored
Normal file
2
material/assets/stylesheets/main.db9e7362.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.db9e7362.min.css.map
Normal file
1
material/assets/stylesheets/main.db9e7362.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -39,7 +39,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% block styles %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.5d519cf3.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.db9e7362.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.3f5d1f46.min.css' | url }}">
|
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.3f5d1f46.min.css' | url }}">
|
||||||
|
@ -45,7 +45,11 @@
|
|||||||
|
|
||||||
// Sidebar with navigation is visible
|
// Sidebar with navigation is visible
|
||||||
.md-sidebar--primary:not([hidden]) ~ .md-content > & {
|
.md-sidebar--primary:not([hidden]) ~ .md-content > & {
|
||||||
margin-left: px2rem(24px);
|
|
||||||
|
// Adjust for left-to-right languages
|
||||||
|
[dir="ltr"] & {
|
||||||
|
margin-left: px2rem(24px);
|
||||||
|
}
|
||||||
|
|
||||||
// Adjust for right-to-left languages
|
// Adjust for right-to-left languages
|
||||||
[dir="rtl"] & {
|
[dir="rtl"] & {
|
||||||
@ -55,7 +59,11 @@
|
|||||||
|
|
||||||
// Sidebar with table of contents is visible
|
// Sidebar with table of contents is visible
|
||||||
.md-sidebar--secondary:not([hidden]) ~ .md-content > & {
|
.md-sidebar--secondary:not([hidden]) ~ .md-content > & {
|
||||||
margin-right: px2rem(24px);
|
|
||||||
|
// Adjust for left-to-right languages
|
||||||
|
[dir="ltr"] & {
|
||||||
|
margin-right: px2rem(24px);
|
||||||
|
}
|
||||||
|
|
||||||
// Adjust for right-to-left languages
|
// Adjust for right-to-left languages
|
||||||
[dir="rtl"] & {
|
[dir="rtl"] & {
|
||||||
|
Loading…
Reference in New Issue
Block a user