Skip to content

Commit 6a811bb

Browse files
committed
Improved rendering of code annotation markers
1 parent 68bcb1a commit 6a811bb

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

material/assets/stylesheets/main.df45aa19.min.css renamed to material/assets/stylesheets/main.8c5ef100.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/assets/stylesheets/main.df45aa19.min.css.map renamed to material/assets/stylesheets/main.8c5ef100.min.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

material/base.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
{% endif %}
3535
{% endblock %}
3636
{% block styles %}
37-
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.df45aa19.min.css' | url }}">
37+
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.8c5ef100.min.css' | url }}">
3838
{% if config.theme.palette %}
3939
{% set palette = config.theme.palette %}
4040
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.9647289d.min.css' | url }}">

src/assets/stylesheets/main/layout/_tooltip.scss

+3-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@
217217
&::before {
218218
display: inline-block;
219219
padding-bottom: 0.1em;
220-
vertical-align: 0.0625em;
220+
vertical-align: 0.065em;
221+
transform: scale(1.15);
221222
transition: transform 400ms cubic-bezier(0.1, 0.7, 0.1, 1);
222223
content: attr(data-md-annotation-id);
223224

@@ -228,7 +229,7 @@
228229

229230
// Annotation marker content on focus
230231
:focus-within > & {
231-
transform: rotate(45deg);
232+
transform: scale(1.25) rotate(45deg);
232233
}
233234
}
234235
}

0 commit comments

Comments
 (0)