mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed rendering issue for rotated annotation icons in Firefox (#5937)
Co-authored-by: Martin Donath <martin.donath@squidfunk.com>
This commit is contained in:
parent
3eb1887f6b
commit
ec709b4f0e
1
material/assets/stylesheets/main.f814a825.min.css
vendored
Normal file
1
material/assets/stylesheets/main.f814a825.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.f814a825.min.css.map
Normal file
1
material/assets/stylesheets/main.f814a825.min.css.map
Normal file
File diff suppressed because one or more lines are too long
@ -44,7 +44,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.43b9b3ee.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.f814a825.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.85d0ee34.min.css' | url }}">
|
||||
|
@ -162,6 +162,12 @@
|
||||
transition: z-index 250ms;
|
||||
}
|
||||
|
||||
// Hack: Work around Firefox bug that renders a subpixel outline when
|
||||
// rotating a mask image element.
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1671784
|
||||
overflow: hidden; // stylelint-disable-line order/properties-order
|
||||
border-radius: 0.01px;
|
||||
|
||||
// [screen]: Render annotation markers as icons
|
||||
@media screen {
|
||||
width: 2.2ch;
|
||||
|
Loading…
Reference in New Issue
Block a user