From e662c9b11f1b0fdfcafec9dac4ff9ee3345b19f4 Mon Sep 17 00:00:00 2001 From: Tobias Date: Fri, 15 Feb 2019 08:58:31 +0100 Subject: [PATCH] small styling cleanup on "code" html element --- packages/dnb-ui-lib/src/style/themes/theme-ui/code.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/dnb-ui-lib/src/style/themes/theme-ui/code.scss b/packages/dnb-ui-lib/src/style/themes/theme-ui/code.scss index a2412adc993..9910b3e9d41 100644 --- a/packages/dnb-ui-lib/src/style/themes/theme-ui/code.scss +++ b/packages/dnb-ui-lib/src/style/themes/theme-ui/code.scss @@ -5,9 +5,9 @@ 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); @@ -15,7 +15,7 @@ code { } pre { word-wrap: normal; - border-radius: 0.5rem; + border-radius: 0.5em; pre { padding: 1rem; }