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:
Sigurd Spieckermann 2023-11-06 10:34:44 +01:00 committed by GitHub
parent c0755bf247
commit 47e7c3e87d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 5 deletions

View File

@ -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 }}">

View File

@ -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;

View File

@ -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);