Fix spacing between heading and description with badge present
This commit is contained in:
@ -24,6 +24,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Move paginator from `articles.html` to `article-list.html`.
|
- Move paginator from `articles.html` to `article-list.html`.
|
||||||
- Tweak styling of `details`.
|
- Tweak styling of `details`.
|
||||||
|
|
||||||
|
## Fixed
|
||||||
|
|
||||||
|
- Fix spacing between article heading and description in article list if badge is present.
|
||||||
|
|
||||||
## [5.1.0](https://codeberg.org/daudix/duckquill/compare/v5.0.0...v5.1.0)
|
## [5.1.0](https://codeberg.org/daudix/duckquill/compare/v5.0.0...v5.1.0)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -19,11 +19,6 @@
|
|||||||
transform: scale(1.25);
|
transform: scale(1.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.heading {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
@ -245,7 +240,7 @@
|
|||||||
.featured-badge,
|
.featured-badge,
|
||||||
.hot-badge,
|
.hot-badge,
|
||||||
.poor-badge {
|
.poor-badge {
|
||||||
display: inline-block;
|
float: inline-end;
|
||||||
box-shadow: var(--edge-highlight);
|
box-shadow: var(--edge-highlight);
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
padding: 0.375rem 0.75rem;
|
padding: 0.375rem 0.75rem;
|
||||||
|
@ -14,8 +14,6 @@
|
|||||||
{% if page.extra.featured %}featured{% endif %}
|
{% if page.extra.featured %}featured{% endif %}
|
||||||
{% if page.extra.hot %}hot{% endif %}
|
{% if page.extra.hot %}hot{% endif %}
|
||||||
{% if page.extra.poor %}poor{% endif %}">
|
{% if page.extra.poor %}poor{% endif %}">
|
||||||
<div class="heading">
|
|
||||||
<h3><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h3>
|
|
||||||
{%- if page.draft %}
|
{%- if page.draft %}
|
||||||
<span class="draft-badge">
|
<span class="draft-badge">
|
||||||
<i class="icon"></i>
|
<i class="icon"></i>
|
||||||
@ -46,7 +44,7 @@
|
|||||||
{{- macros_translate::translate(key="poor", default="Poor", language_strings=language_strings) -}}
|
{{- macros_translate::translate(key="poor", default="Poor", language_strings=language_strings) -}}
|
||||||
</span>
|
</span>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</div>
|
<h3><a href="{{ page.permalink | safe }}">{{ page.title }}</a></h3>
|
||||||
{%- if page.description %}
|
{%- if page.description %}
|
||||||
{{ page.description | markdown | safe }}
|
{{ page.description | markdown | safe }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
Reference in New Issue
Block a user