Browse Source

Fixed #2909 (#2979)

pull/3000/head
Kim Carlbäcker 9 years ago committed by Unknwon
parent
commit
ce36fd7a49
  1. 1600
      modules/bindata/bindata.go
  2. 30
      public/css/gogs.css
  3. 17
      public/less/_base.less
  4. 5
      public/less/_repository.less

1600
modules/bindata/bindata.go

File diff suppressed because it is too large Load Diff

30
public/css/gogs.css

@ -33,6 +33,21 @@ code.wrap {
/* CSS 3 */ /* CSS 3 */
word-break: break-word; 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 { .full.height {
padding: 0; padding: 0;
margin: 0 0 -80px 0; margin: 0 0 -80px 0;
@ -2144,6 +2159,21 @@ footer .container .links > *:first-child {
width: 20px; width: 20px;
text-align: center; 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 { .settings .hook.history.list .item {
padding-left: 13px; padding-left: 13px;
} }

17
public/less/_base.less

@ -28,6 +28,23 @@ pre, code {
word-break: break-word; 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 { .full.height {
padding: 0; padding: 0;
margin: 0 0 -@footer-margin*2 0; margin: 0 0 -@footer-margin*2 0;

5
public/less/_repository.less

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

Loading…
Cancel
Save