Skip to content

Commit

Permalink
small styling cleanup on "code" html element
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker committed Feb 15, 2019
1 parent c6ab474 commit e662c9b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/dnb-ui-lib/src/style/themes/theme-ui/code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@

code {
margin: 0;
padding: 0.1875rem 0.375rem; /* 3px 6px */
padding: 0.125rem 0.25rem; /* 2px 4px */

font-size: 1em;
font-size: inherit;
line-height: 1; // for vertical alignment, we have to have no line-height

background-color: var(--color-mint-green-25);
border-radius: 0.1875em;
}
pre {
word-wrap: normal;
border-radius: 0.5rem;
border-radius: 0.5em;
pre {
padding: 1rem;
}
Expand Down

0 comments on commit e662c9b

Please sign in to comment.