mirror of
https://github.com/rifts-obsidian-laboratory/anki-integration.git
synced 2026-07-22 05:42:50 +00:00
Features - Added a CSS class setting to 100% the default width of paragraphs
This commit is contained in:
parent
5a68dab89f
commit
8623284c0e
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -45,6 +45,10 @@
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.ankiIntegrationModal__paragraph--default-width {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ankiIntegrationModal__container--flex-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
|
|
|||
Loading…
Reference in a new issue