This commit is contained in:
Jeremy Thomas 2017-09-18 22:54:26 +01:00
parent faa7a8a448
commit eacb9f115a
5 changed files with 14 additions and 21 deletions

View File

@ -4,6 +4,7 @@
### Issues closed ### Issues closed
* #1167 Fix `pre code`
* #1207 Fix `.breadcrumb` alignment * #1207 Fix `.breadcrumb` alignment
## 0.5.2 ## 0.5.2

View File

@ -97,9 +97,6 @@
.highlight pre .highlight pre
max-height: 320px max-height: 320px
margin-bottom: 0 !important margin-bottom: 0 !important
padding: 0
code
padding: 1.25em 1.5em
.highlight-full, .highlight-full,
#navbarJsExample #navbarJsExample

View File

@ -210,21 +210,21 @@ strong {
} }
pre { pre {
-webkit-overflow-scrolling: touch;
background-color: whitesmoke; background-color: whitesmoke;
color: #4a4a4a; color: #4a4a4a;
font-size: 0.875em; font-size: 0.875em;
overflow-x: auto;
padding: 1.25rem 1.5rem;
white-space: pre; white-space: pre;
word-wrap: normal; word-wrap: normal;
} }
pre code { pre code {
-webkit-overflow-scrolling: touch; background-color: transparent;
background: none; color: currentColor;
color: inherit;
display: block;
font-size: 1em; font-size: 1em;
overflow-x: auto; padding: 0;
padding: 1.25rem 1.5rem;
} }
table td, table td,
@ -11431,11 +11431,6 @@ html.route-index #carbon {
.highlight pre { .highlight pre {
max-height: 320px; max-height: 320px;
margin-bottom: 0 !important; margin-bottom: 0 !important;
padding: 0;
}
.highlight pre code {
padding: 1.25em 1.5em;
} }
.highlight-full:not(:last-child), .highlight-full:not(:last-child),

File diff suppressed because one or more lines are too long

View File

@ -104,19 +104,19 @@ strong
// Block // Block
pre pre
+overflow-touch
background-color: $pre-background background-color: $pre-background
color: $pre color: $pre
font-size: 0.875em font-size: 0.875em
overflow-x: auto
padding: 1.25rem 1.5rem
white-space: pre white-space: pre
word-wrap: normal word-wrap: normal
code code
+overflow-touch background-color: transparent
background: none color: currentColor
color: inherit
display: block
font-size: 1em font-size: 1em
overflow-x: auto padding: 0
padding: 1.25rem 1.5rem
table table
td, td,