mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-02-07 14:31:26 +01: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 %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block styles %}
|
{% 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 %}
|
{% if config.theme.palette %}
|
||||||
{% set palette = config.theme.palette %}
|
{% set palette = config.theme.palette %}
|
||||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.356b1318.min.css' | url }}">
|
<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
|
// Hack: Work around Firefox bug that renders a subpixel outline when
|
||||||
// rotating a mask image element.
|
// rotating a mask image element - see https://t.ly/qA1s4
|
||||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=1671784
|
|
||||||
overflow: hidden; // stylelint-disable-line order/properties-order
|
overflow: hidden; // stylelint-disable-line order/properties-order
|
||||||
border-radius: 0.01px;
|
border-radius: 0.01px;
|
||||||
|
|
||||||
|
@ -69,6 +69,9 @@
|
|||||||
display: block;
|
display: block;
|
||||||
min-height: px2rem(20px);
|
min-height: px2rem(20px);
|
||||||
padding-inline-end: px2rem(36px);
|
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;
|
cursor: pointer;
|
||||||
border-start-start-radius: px2rem(2px);
|
border-start-start-radius: px2rem(2px);
|
||||||
border-start-end-radius: px2rem(2px);
|
border-start-end-radius: px2rem(2px);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user