mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-14 19:07:41 +01:00
Fixed positioning of abbreviations on touch devices
This commit is contained in:
parent
788f087730
commit
fbfb662588
1
material/assets/stylesheets/main.b0107b01.min.css
vendored
Normal file
1
material/assets/stylesheets/main.b0107b01.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.b0107b01.min.css.map
Normal file
1
material/assets/stylesheets/main.b0107b01.min.css.map
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -40,7 +40,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.f79797b0.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.b0107b01.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.2505c338.min.css' | url }}">
|
||||
|
@ -294,16 +294,11 @@ kbd {
|
||||
|
||||
// Show tooltip for touch devices
|
||||
@media (hover: none) {
|
||||
position: relative;
|
||||
|
||||
// Tooltip
|
||||
&[title]:is(:focus, :hover)::after {
|
||||
position: absolute;
|
||||
inset-inline-start: 0;
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
min-width: max-content;
|
||||
max-width: 80%;
|
||||
inset-inline: px2rem(16px);
|
||||
margin-top: 2em;
|
||||
padding: px2rem(4px) px2rem(6px);
|
||||
color: var(--md-default-bg-color);
|
||||
|
Loading…
Reference in New Issue
Block a user