Skip to content

Commit

Permalink
Fix <cite> with line break (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminleonard authored Nov 28, 2024
1 parent 41afa4d commit e1eb153
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions components/dist/asciidoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
@apply mt-8 text-default;
}

.asciidoc-body .attribution cite {
@apply block;
}

.asciidoc-body .admonitionblock .quoteblock {
@apply mb-2 mt-2 pl-[0.75rem] border-success-secondary;
}
Expand Down Expand Up @@ -559,8 +563,8 @@
@apply border-r-0;
}

/*
specificity to handle nested tables
/*
specificity to handle nested tables
todo: check if it's needed in any of the other table styles
*/
.asciidoc-body tbody > tr:last-child > td,
Expand Down
8 changes: 6 additions & 2 deletions components/src/assets/asciidoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
@apply mt-8 text-default;
}

.asciidoc-body .attribution cite {
@apply block;
}

.asciidoc-body .admonitionblock .quoteblock {
@apply mb-2 mt-2 pl-[0.75rem] border-success-secondary;
}
Expand Down Expand Up @@ -559,8 +563,8 @@
@apply border-r-0;
}

/*
specificity to handle nested tables
/*
specificity to handle nested tables
todo: check if it's needed in any of the other table styles
*/
.asciidoc-body tbody > tr:last-child > td,
Expand Down

0 comments on commit e1eb153

Please sign in to comment.