mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed direction for code annotations in right-to-left languages
This commit is contained in:
parent
539ddad271
commit
1453e946fb
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -34,7 +34,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.cf6950a3.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.23b6d78a.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.e6a45f82.min.css' | url }}">
|
||||
|
@ -136,6 +136,11 @@
|
||||
white-space: normal;
|
||||
outline: none;
|
||||
|
||||
// Adjust for right-to-left languages
|
||||
[dir="rtl"] & {
|
||||
direction: rtl;
|
||||
}
|
||||
|
||||
// Annotation is not hidden (e.g. when copying)
|
||||
&:not([hidden]) {
|
||||
display: inline-block;
|
||||
|
Loading…
Reference in New Issue
Block a user