text icon indicating copy to clipboard operation
text copied to clipboard

Callout vertical alignment

Open cheneraie opened this issue 2 years ago • 1 comments

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

cheneraie avatar Dec 02 '23 20:12 cheneraie

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

juliusknorr avatar Dec 02 '23 20:12 juliusknorr