Skip to content

Commit

Permalink
Wireshark: Set minimum widths for our admon images.
Browse files Browse the repository at this point in the history
  • Loading branch information
geraldcombs committed Jul 16, 2021
1 parent ba70758 commit 420a8a3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sass/wireshark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,18 @@ p, pre {
margin-bottom: 1.25rem;
}

// Admonition image sizes. Docbook XSL uses .note &c, Asciidoctor uses
// .admonitionblock and sets max-width: none for us.
.note, .tip, .important, .caution, .warning {
td img {
max-width: none;
min-width: 2em;
}
}
.admonitionblock > table td.icon img {
min-width: 2em;
}

// restore font size in sidebar block and regular table cells
.sidebarblock p, .sidebarblock dt, .sidebarblock td.content, p.tableblock {
font-size: 1em;
Expand Down

0 comments on commit 420a8a3

Please sign in to comment.