Use mixin for word wrap
This commit is contained in:
parent
3689141ac3
commit
7a14004b4e
3 changed files with 13 additions and 16 deletions
|
@ -46,14 +46,7 @@
|
|||
}
|
||||
|
||||
.comment-html {
|
||||
word-break: normal;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
-webkit-hyphens: auto;
|
||||
-ms-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
hyphens: auto;
|
||||
text-align: justify;
|
||||
@include peertube-word-wrap;
|
||||
|
||||
/deep/ a {
|
||||
@include disable-default-a-behaviour;
|
||||
|
|
|
@ -215,14 +215,7 @@
|
|||
font-size: 15px;
|
||||
|
||||
.video-info-description-html {
|
||||
word-break: normal;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
-webkit-hyphens: auto;
|
||||
-ms-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
hyphens: auto;
|
||||
text-align: justify;
|
||||
@include peertube-word-wrap;
|
||||
}
|
||||
|
||||
.description-loading {
|
||||
|
|
|
@ -16,6 +16,17 @@
|
|||
}
|
||||
}
|
||||
|
||||
@mixin peertube-word-wrap {
|
||||
word-break: normal;
|
||||
word-wrap: break-word;
|
||||
overflow-wrap: break-word;
|
||||
-webkit-hyphens: auto;
|
||||
-ms-hyphens: auto;
|
||||
-moz-hyphens: auto;
|
||||
hyphens: auto;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
@mixin peertube-input-text($width) {
|
||||
display: inline-block;
|
||||
height: $button-height;
|
||||
|
|
Loading…
Reference in a new issue