Skip to content

Commit 3808055

Browse files
authored
refactor: improve spacing of tags and simplify customizations (#82)
Signed-off-by: squidfunk <martin.donath@squidfunk.com>
1 parent 964e781 commit 3808055

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

dist/assets/stylesheets/modern/main.28978c9b.min.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/assets/stylesheets/modern/main.d36272a3.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{% endblock %}
4848
{% block styles %}
4949
{% if config.theme.variant == "modern" %}
50-
{% set href = 'assets/stylesheets/modern/main.28978c9b.min.css' | url %}
50+
{% set href = 'assets/stylesheets/modern/main.d36272a3.min.css' | url %}
5151
{% else %}
5252
{% set href = 'assets/stylesheets/classic/main.d9d44b50.min.css' | url %}
5353
{% endif %}

src/assets/stylesheets/modern/main/components/_tag.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@
3939

4040
// Tag list (if not hidden)
4141
.md-tags:not([hidden]) {
42-
display: inline-flex;
42+
display: flex;
4343
flex-wrap: wrap;
4444
gap: px2em(8px);
45-
margin-top: px2em(-2px);
46-
margin-bottom: px2em(12px);
45+
margin-top: px2rem(16px);
46+
margin-bottom: px2rem(24px);
47+
padding-top: px2rem(24px);
4748
}
4849

4950
// Tag

0 commit comments

Comments
 (0)