make sure that links and images won't break the layout
This commit is contained in:
@@ -768,6 +768,7 @@ $icon-danger-hover-color: darken($brand-danger, 10%);
|
|||||||
@extend %fa-icon;
|
@extend %fa-icon;
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
|
display: inline;
|
||||||
margin-right: 3px;
|
margin-right: 3px;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
content: $fa-var-external-link;
|
content: $fa-var-external-link;
|
||||||
|
|||||||
@@ -128,6 +128,12 @@ div.wiki {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
// scss-lint:disable DuplicateProperty
|
||||||
|
word-break: break-all;
|
||||||
|
word-break: break-word;
|
||||||
|
}
|
||||||
|
|
||||||
p,
|
p,
|
||||||
ul,
|
ul,
|
||||||
ol {
|
ol {
|
||||||
@@ -182,7 +188,6 @@ div.wiki {
|
|||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
// scss-lint:disable DuplicateProperty
|
|
||||||
padding: .2em .33em;
|
padding: .2em .33em;
|
||||||
border-radius: $border-radius-base;
|
border-radius: $border-radius-base;
|
||||||
background-color: rgba(#000, .04);
|
background-color: rgba(#000, .04);
|
||||||
@@ -190,7 +195,6 @@ div.wiki {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
// scss-lint:disable DuplicateProperty
|
|
||||||
width: auto;
|
width: auto;
|
||||||
margin-bottom: 1.15em;
|
margin-bottom: 1.15em;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
@@ -210,6 +214,11 @@ div.wiki {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.toc {
|
.toc {
|
||||||
margin-bottom: $line-height-computed;
|
margin-bottom: $line-height-computed;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
@@ -277,11 +286,6 @@ div.wiki {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
img {
|
|
||||||
max-width: 100%;
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.toc-active-prev + .toc {
|
.toc-active-prev + .toc {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user