mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed inconsistent scaling of line numbers for smaller code blocks
This commit is contained in:
parent
af17dad6f5
commit
aaa65f4df6
@ -5,8 +5,8 @@
|
||||
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.fd16492e.min.js.map",
|
||||
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.4ac00218.min.js",
|
||||
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.4ac00218.min.js.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.813c30d6.min.css",
|
||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.813c30d6.min.css.map",
|
||||
"assets/stylesheets/main.css": "assets/stylesheets/main.2cb7adb3.min.css",
|
||||
"assets/stylesheets/main.css.map": "assets/stylesheets/main.2cb7adb3.min.css.map",
|
||||
"assets/stylesheets/overrides.css": "assets/stylesheets/overrides.88a3f51b.min.css",
|
||||
"assets/stylesheets/overrides.css.map": "assets/stylesheets/overrides.88a3f51b.min.css.map",
|
||||
"assets/stylesheets/palette.css": "assets/stylesheets/palette.f0267088.min.css",
|
||||
|
File diff suppressed because one or more lines are too long
1
material/assets/stylesheets/main.2cb7adb3.min.css.map
Normal file
1
material/assets/stylesheets/main.2cb7adb3.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
@ -34,7 +34,7 @@
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block styles %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.813c30d6.min.css' | url }}">
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.2cb7adb3.min.css' | url }}">
|
||||
{% if config.theme.palette %}
|
||||
{% set palette = config.theme.palette %}
|
||||
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.f0267088.min.css' | url }}">
|
||||
|
@ -183,7 +183,7 @@
|
||||
// Disable user selection, so code can be easily copied without
|
||||
// accidentally also copying the line numbers
|
||||
.linenos {
|
||||
padding: px2rem(10.5px) px2em(16px, 13.6px);
|
||||
padding: px2em(10.5px, 13.6px) px2em(16px, 13.6px);
|
||||
padding-right: 0;
|
||||
font-size: px2em(13.6px);
|
||||
background-color: var(--md-code-bg-color);
|
||||
|
Loading…
Reference in New Issue
Block a user