1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
This commit is contained in:
Kim Carlbäcker 2016-04-19 22:35:36 +02:00 committed by Unknwon
parent 69e00f9948
commit ce36fd7a49
4 changed files with 742 additions and 910 deletions

File diff suppressed because it is too large Load Diff

View File

@ -33,6 +33,21 @@ code.wrap {
/* CSS 3 */
word-break: break-word;
}
.dont-break-out {
/* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
.full.height {
padding: 0;
margin: 0 0 -80px 0;
@ -2144,6 +2159,21 @@ footer .container .links > *:first-child {
width: 20px;
text-align: center;
}
.settings .hook.list .item a {
/* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
.settings .hook.history.list .item {
padding-left: 13px;
}

View File

@ -28,6 +28,23 @@ pre, code {
word-break: break-word;
}
}
.dont-break-out {
/* These are technically the same, but use both */
overflow-wrap: break-word;
word-wrap: break-word;
-ms-word-break: break-all;
/* This is the dangerous one in WebKit, as it breaks things wherever */
word-break: break-all;
/* Instead use this non-standard one: */
word-break: break-word;
/* Adds a hyphen where the word breaks, if supported (No Blink) */
-ms-hyphens: auto;
-moz-hyphens: auto;
-webkit-hyphens: auto;
hyphens: auto;
}
.full.height {
padding: 0;
margin: 0 0 -@footer-margin*2 0;

View File

@ -1206,6 +1206,9 @@
width: 20px;
text-align: center;
}
a {
.dont-break-out;
}
}
}
.hook.history.list {
@ -1321,5 +1324,3 @@
width: 100%!important;
}
}