summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/assets/scss/_code.scss
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-01-17 01:47:38 -0500
committerIan Lewis <ianlewis@google.com>2020-01-17 01:47:38 -0500
commit6d055f33a19203b8589142b74737dbe5f67d18e3 (patch)
treea19d52458e1453b48d4c568f70bbb114ad30aed2 /themes/docsy/assets/scss/_code.scss
parentc73410c0bda98fa617d82cf423ce96ee5e6af6a4 (diff)
parentdcd8504d9866a9b0d95fadbff79e599f5d6893db (diff)
Merge branch 'master' into lint-md
Diffstat (limited to 'themes/docsy/assets/scss/_code.scss')
-rw-r--r--themes/docsy/assets/scss/_code.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/themes/docsy/assets/scss/_code.scss b/themes/docsy/assets/scss/_code.scss
index a5633d353..fa2974393 100644
--- a/themes/docsy/assets/scss/_code.scss
+++ b/themes/docsy/assets/scss/_code.scss
@@ -20,11 +20,12 @@
}
// Inline code
- p code, li > code {
+ p code, li > code, table code {
color: inherit;
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
+ word-break: normal;
background-color: rgba($black, 0.05);
border-radius: $border-radius;
@@ -50,4 +51,4 @@
border: 0;
}
}
-} \ No newline at end of file
+}