aboutsummaryrefslogtreecommitdiffstats
path: root/public/less
diff options
context:
space:
mode:
Diffstat (limited to 'public/less')
-rw-r--r--public/less/_base.less23
-rw-r--r--public/less/_repository.less5
2 files changed, 7 insertions, 21 deletions
diff --git a/public/less/_base.less b/public/less/_base.less
index 7f156839df..d7cc518175 100644
--- a/public/less/_base.less
+++ b/public/less/_base.less
@@ -27,26 +27,15 @@ pre, code {
line-height: 1.5;
overflow: auto;
}
- &.wrap {
- white-space: pre-wrap; /* CSS 3 */
-// white-space: -moz-normal; /* Mozilla, since 1999 */
-// white-space: -normal; /* Opera 4-6 */
-// white-space: -o-normal; /* Opera 7 */
-
- -ms-word-break: break-all;
- word-break: break-all;
-
- /* These are technically the same, but use both */
- overflow-wrap: break-word;
- word-wrap: break-word;
- }
+}
+/* Wrap long lines of code. This will also apply to Markdown code boxes. */
+pre > code {
+ white-space: pre-wrap !important;
+ word-break: break-all !important;
+ overflow-wrap: break-word !important;
}
.dont-break-out {
- /* These are technically the same, but use both */
overflow-wrap: break-word;
- word-wrap: break-word;
-
- -ms-word-break: break-all;
word-break: break-all;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
diff --git a/public/less/_repository.less b/public/less/_repository.less
index 1d2030bea2..3d590fad1d 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -370,13 +370,10 @@
padding: 0 !important;
li {
display: block;
- width: 100%;
+ padding: 0 .25em;
&.active {
background: #ffffdd;
}
- &:before {
- content: ' ';
- }
}
}
}