mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed visible artifacts on rotation of details marker (Firefox) (#6268)
* Work around collapsible block icon rotation bug * Minify link to upstream issue
This commit is contained in:
parent
c0755bf247
commit
47e7c3e87d
File diff suppressed because one or more lines are too long
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.4b4a2bd9.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.78cf6014.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.356b1318.min.css' | url }}">
|
||||
|
@ -163,8 +163,7 @@
|
||||
}
|
||||
|
||||
// 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
|
||||
// rotating a mask image element - see https://t.ly/qA1s4
|
||||
overflow: hidden; // stylelint-disable-line order/properties-order
|
||||
border-radius: 0.01px;
|
||||
|
||||
|
@ -69,6 +69,9 @@
|
||||
display: block;
|
||||
min-height: px2rem(20px);
|
||||
padding-inline-end: px2rem(36px);
|
||||
// Hack: Work around Firefox bug that renders a subpixel outline when
|
||||
// rotating a mask image element - see https://t.ly/qA1s4
|
||||
overflow: hidden;
|
||||
cursor: pointer;
|
||||
border-start-start-radius: px2rem(2px);
|
||||
border-start-end-radius: px2rem(2px);
|
||||
|
Loading…
Reference in New Issue
Block a user