From 9706eb30599d9d1a685740ae296d6e2554206c5e Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> Date: Sat, 11 Feb 2017 23:50:49 +0900 Subject: [PATCH] Use overflow-wrap instead of word-wrap --- src/web/about/resources/style.css | 2 +- src/web/app/desktop/tags/list-user.tag | 2 +- src/web/app/desktop/tags/messaging/index.tag | 2 +- src/web/app/desktop/tags/messaging/message.tag | 4 ++-- src/web/app/desktop/tags/notifications.tag | 2 +- src/web/app/desktop/tags/post-detail-sub.tag | 2 +- src/web/app/desktop/tags/post-detail.tag | 2 +- src/web/app/desktop/tags/sub-post-content.tag | 2 +- src/web/app/desktop/tags/timeline-post.tag | 2 +- src/web/app/mobile/tags/drive/file.tag | 2 +- src/web/app/mobile/tags/notification-preview.tag | 2 +- src/web/app/mobile/tags/notification.tag | 2 +- src/web/app/mobile/tags/post-detail.tag | 2 +- src/web/app/mobile/tags/sub-post-content.tag | 2 +- src/web/app/mobile/tags/timeline-post.tag | 2 +- src/web/app/mobile/tags/user-preview.tag | 2 +- src/web/app/reset.styl | 2 +- 17 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/web/about/resources/style.css b/src/web/about/resources/style.css index 18a7e2d786..028bffa525 100644 --- a/src/web/about/resources/style.css +++ b/src/web/about/resources/style.css @@ -37,7 +37,7 @@ main { padding: 32px; width: 100%; max-width: 700px; - word-wrap: break-word; + overflow-wrap: break-word; } @media screen and (max-width: 700px) { main { diff --git a/src/web/app/desktop/tags/list-user.tag b/src/web/app/desktop/tags/list-user.tag index 3e0e9d2ba5..e8f697117c 100644 --- a/src/web/app/desktop/tags/list-user.tag +++ b/src/web/app/desktop/tags/list-user.tag @@ -83,7 +83,7 @@ display block margin 0 padding 0 - word-wrap break-word + overflow-wrap break-word font-size 1.1em color #717171 diff --git a/src/web/app/desktop/tags/messaging/index.tag b/src/web/app/desktop/tags/messaging/index.tag index b6b9ac4952..1c41c40011 100644 --- a/src/web/app/desktop/tags/messaging/index.tag +++ b/src/web/app/desktop/tags/messaging/index.tag @@ -239,7 +239,7 @@ margin 0 0 0 0 padding 0 overflow hidden - word-wrap break-word + overflow-wrap break-word font-size 1.1em color rgba(0, 0, 0, 0.8) diff --git a/src/web/app/desktop/tags/messaging/message.tag b/src/web/app/desktop/tags/messaging/message.tag index 6c0c6952f1..375a2fefcc 100644 --- a/src/web/app/desktop/tags/messaging/message.tag +++ b/src/web/app/desktop/tags/messaging/message.tag @@ -106,7 +106,7 @@ margin 0 padding 0 overflow hidden - word-wrap break-word + overflow-wrap break-word font-size 1em color rgba(0, 0, 0, 0.5) @@ -115,7 +115,7 @@ margin 0 padding 8px 16px overflow hidden - word-wrap break-word + overflow-wrap break-word font-size 1em color rgba(0, 0, 0, 0.8) diff --git a/src/web/app/desktop/tags/notifications.tag b/src/web/app/desktop/tags/notifications.tag index f5039284f3..aaf72bb2ca 100644 --- a/src/web/app/desktop/tags/notifications.tag +++ b/src/web/app/desktop/tags/notifications.tag @@ -55,7 +55,7 @@ > .notification margin 0 padding 16px - word-wrap break-word + overflow-wrap break-word font-size 0.9em border-bottom solid 1px rgba(0, 0, 0, 0.05) diff --git a/src/web/app/desktop/tags/post-detail-sub.tag b/src/web/app/desktop/tags/post-detail-sub.tag index cc2e0aed37..48a67e773c 100644 --- a/src/web/app/desktop/tags/post-detail-sub.tag +++ b/src/web/app/desktop/tags/post-detail-sub.tag @@ -89,7 +89,7 @@ display block margin 0 padding 0 - word-wrap break-word + overflow-wrap break-word font-size 1em color #717171 diff --git a/src/web/app/desktop/tags/post-detail.tag b/src/web/app/desktop/tags/post-detail.tag index bb7c7c16f7..01486bcb2e 100644 --- a/src/web/app/desktop/tags/post-detail.tag +++ b/src/web/app/desktop/tags/post-detail.tag @@ -202,7 +202,7 @@ display block margin 0 padding 0 - word-wrap break-word + overflow-wrap break-word font-size 1.5em color #717171 diff --git a/src/web/app/desktop/tags/sub-post-content.tag b/src/web/app/desktop/tags/sub-post-content.tag index 6f74e936ae..632d1b0648 100644 --- a/src/web/app/desktop/tags/sub-post-content.tag +++ b/src/web/app/desktop/tags/sub-post-content.tag @@ -7,7 +7,7 @@ <style type="stylus"> :scope display block - word-wrap break-word + overflow-wrap break-word > .body > .reply diff --git a/src/web/app/desktop/tags/timeline-post.tag b/src/web/app/desktop/tags/timeline-post.tag index 1f204254d0..dd26f79e2d 100644 --- a/src/web/app/desktop/tags/timeline-post.tag +++ b/src/web/app/desktop/tags/timeline-post.tag @@ -213,7 +213,7 @@ display block margin 0 padding 0 - word-wrap break-word + overflow-wrap break-word font-size 1.1em color #717171 diff --git a/src/web/app/mobile/tags/drive/file.tag b/src/web/app/mobile/tags/drive/file.tag index 6746347a44..1ce8297ea3 100644 --- a/src/web/app/mobile/tags/drive/file.tag +++ b/src/web/app/mobile/tags/drive/file.tag @@ -64,7 +64,7 @@ font-weight bold color #555 text-overflow ellipsis - word-wrap break-word + overflow-wrap break-word > .tags display block diff --git a/src/web/app/mobile/tags/notification-preview.tag b/src/web/app/mobile/tags/notification-preview.tag index bcc2f2ea6e..aaae1d483b 100644 --- a/src/web/app/mobile/tags/notification-preview.tag +++ b/src/web/app/mobile/tags/notification-preview.tag @@ -42,7 +42,7 @@ color #fff > .main - word-wrap break-word + overflow-wrap break-word &:after content "" diff --git a/src/web/app/mobile/tags/notification.tag b/src/web/app/mobile/tags/notification.tag index 7a0909b00c..583e74b727 100644 --- a/src/web/app/mobile/tags/notification.tag +++ b/src/web/app/mobile/tags/notification.tag @@ -46,7 +46,7 @@ font-size 12px > .main - word-wrap break-word + overflow-wrap break-word &:after content "" diff --git a/src/web/app/mobile/tags/post-detail.tag b/src/web/app/mobile/tags/post-detail.tag index d77da39819..8f8c8bd5ac 100644 --- a/src/web/app/mobile/tags/post-detail.tag +++ b/src/web/app/mobile/tags/post-detail.tag @@ -196,7 +196,7 @@ display block margin 0 padding 0 - word-wrap break-word + overflow-wrap break-word font-size 16px color #717171 diff --git a/src/web/app/mobile/tags/sub-post-content.tag b/src/web/app/mobile/tags/sub-post-content.tag index 13be71b4a0..c2699b6bfb 100644 --- a/src/web/app/mobile/tags/sub-post-content.tag +++ b/src/web/app/mobile/tags/sub-post-content.tag @@ -7,7 +7,7 @@ <style type="stylus"> :scope display block - word-wrap break-word + overflow-wrap break-word > .body > .reply diff --git a/src/web/app/mobile/tags/timeline-post.tag b/src/web/app/mobile/tags/timeline-post.tag index a5a5a64f62..d4696e6037 100644 --- a/src/web/app/mobile/tags/timeline-post.tag +++ b/src/web/app/mobile/tags/timeline-post.tag @@ -193,7 +193,7 @@ display block margin 0 padding 0 - word-wrap break-word + overflow-wrap break-word font-size 1.1em color #717171 diff --git a/src/web/app/mobile/tags/user-preview.tag b/src/web/app/mobile/tags/user-preview.tag index 7310bf96bd..72d23378fd 100644 --- a/src/web/app/mobile/tags/user-preview.tag +++ b/src/web/app/mobile/tags/user-preview.tag @@ -80,7 +80,7 @@ display block margin 0 padding 0 - word-wrap break-word + overflow-wrap break-word font-size 1.1em color #717171 diff --git a/src/web/app/reset.styl b/src/web/app/reset.styl index d9cc3900b7..93c7ce4675 100644 --- a/src/web/app/reset.styl +++ b/src/web/app/reset.styl @@ -9,7 +9,7 @@ body padding 0 body - word-wrap break-word + overflow-wrap break-word overflow-wrap break-word input:not([type])