Skip to content

Commit

Permalink
remove trailing empty lines in descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Dec 22, 2024
1 parent 0ca9c52 commit ff99702
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
7 changes: 7 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,13 @@ footer, footer p {
.card-body > :first-child {
margin-top: 0
}
.card-body > :last-child {
margin-bottom: 0;
}
// h5
.card-text p {
font-size: 1.25rem;
}
.card, .card p, .card > h2 > a {
color: rgba(255, 255, 255, .7)
}
Expand Down
7 changes: 4 additions & 3 deletions js/addon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ document.addEventListener("DOMContentLoaded", () => {
<br />
<div class="card card-body">
<p class="h5" v-html="compiledMarkdown(addon.description)"></p>
</div>
<div
class="card card-body card-text"
v-html="compiledMarkdown(addon.description)"
/>
</v-col>
<v-col class="order-first" :md="$vuetify.display.mdAndUp ? 3 : 2" style="max-width: 100%">
<compatibility-card :options="addon.options" />
Expand Down
4 changes: 2 additions & 2 deletions js/posts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ document.addEventListener("DOMContentLoaded", () => {
<hr />
<div v-if="data.description" class="card card-body">
<p class="h5" v-html="data.description"></p>
<div v-if="data.description" class="card card-body card-text">
<p v-html="data.description" />
</div>
<post-downloads v-if="data.downloads" :downloads="data.downloads" />
<template v-if="data.changelog">
Expand Down

0 comments on commit ff99702

Please sign in to comment.