nextcloud / text

📑 Collaborative document editing using Markdown
GNU Affero General Public License v3.0
530 stars 85 forks source link

Callout vertical alignment #5076

Open cheneraie opened 7 months ago

cheneraie commented 7 months ago

I prefer caption text to be vertically aligned, especially when there's only one line of text. But the paragraph style inherits from the global style, with a space below the text. This results in vertical misalignment with the caption area. Adding this code to the "Custom CSS" application produces the desired result.

.callout .paragraph-content {
margin-bottom: 0 !important;
}

Without custom CSS bad-vertical-alignment

With custom CSS good-vertical-alignment

juliushaertl commented 7 months ago

Yes, we should align that also with https://nextcloud-vue-components.netlify.app/#/Components/NcNoteCard