Features - Added a CSS class setting to 100% the default width of paragraphs

This commit is contained in:
Noah Boos 2025-06-27 14:24:57 +02:00
parent 5a68dab89f
commit 8623284c0e
2 changed files with 6 additions and 1 deletions

View file

@ -119,7 +119,8 @@ export function AddParagraph(parent: HTMLElement, text: string, classes: string[
* Pushes into classes all CSS classes that are mandatory for a container.
*/
classes.push(
"ankiIntegrationModal__paragraph--text-align"
"ankiIntegrationModal__paragraph--text-align",
"ankiIntegrationModal__paragraph--default-width"
);
/**
* @type {HTMLElement} createdEl

View file

@ -45,6 +45,10 @@
text-align: center;
}
.ankiIntegrationModal__paragraph--default-width {
width: 100%;
}
.ankiIntegrationModal__container--flex-row {
display: flex;
flex-direction: row;