aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/sass/include
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-20 08:19:46 +0200
committerChocobozzz <me@florianbigard.com>2018-04-20 08:19:46 +0200
commit7a14004b4e16e23076f29d9c5d890f2a5130e171 (patch)
tree0c5befe56320b80d07ffb2223cd7bb4143de0775 /client/src/sass/include
parent3689141ac3ed59d6681eeca89b33eaf2310042bc (diff)
downloadPeerTube-7a14004b4e16e23076f29d9c5d890f2a5130e171.tar.gz
PeerTube-7a14004b4e16e23076f29d9c5d890f2a5130e171.tar.zst
PeerTube-7a14004b4e16e23076f29d9c5d890f2a5130e171.zip
Use mixin for word wrap
Diffstat (limited to 'client/src/sass/include')
-rw-r--r--client/src/sass/include/_mixins.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss
index f905f9ae5..7e7a38bbd 100644
--- a/client/src/sass/include/_mixins.scss
+++ b/client/src/sass/include/_mixins.scss
@@ -16,6 +16,17 @@
16 } 16 }
17} 17}
18 18
19@mixin peertube-word-wrap {
20 word-break: normal;
21 word-wrap: break-word;
22 overflow-wrap: break-word;
23 -webkit-hyphens: auto;
24 -ms-hyphens: auto;
25 -moz-hyphens: auto;
26 hyphens: auto;
27 text-align: justify;
28}
29
19@mixin peertube-input-text($width) { 30@mixin peertube-input-text($width) {
20 display: inline-block; 31 display: inline-block;
21 height: $button-height; 32 height: $button-height;