Skip to content

Commit

Permalink
[useblocks#66] remove 'display: inline-block' from inline code blocks (
Browse files Browse the repository at this point in the history
…useblocks#80)

inline code blocks should not be assigned 'display: inline-block'
despite their namesake. without 'inline-block'.

Setting display to 'inline-block' turns <code> into a block element,
which when applied to an exceptionally long element (i.e. long
non-breaking 'pre'-formatted lines) makes ordering and sizing of
elements around it weird.
  • Loading branch information
zeddee authored May 19, 2023
1 parent eab613d commit f321ca2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,5 @@ img {
color: #552977;
background-color: #f1f1f1;
font-size: 9pt;
display: inline-block;
padding: 1pt 3pt;
}

0 comments on commit f321ca2

Please sign in to comment.