-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vertically center text inside callouts #1175
Labels
enhancement
New feature or request
Comments
mejo-
pushed a commit
to nextcloud/text
that referenced
this issue
Mar 25, 2024
Fixes: nextcloud/collectives#1175 Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Signed-off-by: Jonas <jonas@freesources.org>
mejo-
pushed a commit
to nextcloud/text
that referenced
this issue
Mar 25, 2024
Fixes: nextcloud/collectives#1175 Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Signed-off-by: Jonas <jonas@freesources.org>
2 tasks
backportbot bot
pushed a commit
to nextcloud/text
that referenced
this issue
Mar 25, 2024
Fixes: nextcloud/collectives#1175 Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com> Signed-off-by: Jonas <jonas@freesources.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
The text inside a callout isn't vertically centered, which is more visible with shorter text and larger bottom space. Maybe it's just my OCD, but it keeps bothering me. Visually, it looks like a bug since it isn't centered. This seems to be due to the bottom margin set on all
.paragraph-content
elements inside the callout.Describe the solution you'd like
![OnPaste 20240325-090859](https://private-user-images.githubusercontent.com/1692600/316510071-8d62c26b-a123-433a-b5d1-b47318cadf7e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NjUwMzgsIm5iZiI6MTczOTY2NDczOCwicGF0aCI6Ii8xNjkyNjAwLzMxNjUxMDA3MS04ZDYyYzI2Yi1hMTIzLTQzM2EtYjVkMS1iNDczMThjYWRmN2UucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTZUMDAxMjE4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGM4OGU4ODY3OThiYjYxYmM0YzQzMjFiNTA4MDU0Y2ZjZTYwZDI0ZmVmNjI4MjA5YWM4MjI5MzczNzBjZWUxMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.h_YE6JCpXf2AZrwWZV8taPUzdVX8VVn4bmVAZLWxzVs)
This is a small CSS change to set the bottom margin of the last element to zero using
last-child
pseudo-class, so the text appears to be centered again.Thank you.
The text was updated successfully, but these errors were encountered: