From 2ebd7ba865dd9666a1a32b34e974b4350283ff5b Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 13 Jan 2022 10:47:26 +0600 Subject: [PATCH] use break-word instead of break-all everywhere --- action.php | 2 +- css/mobile.css | 2 +- css/style.css | 2 +- layout/footer.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/action.php b/action.php index b89d4ea..8b95006 100644 --- a/action.php +++ b/action.php @@ -341,7 +341,7 @@ foreach($_GET as $key => $value){ $post = api_get("statuses/".htmlentities($value)); echo "
-
+
".emojify($post['account']['display_name'],$post['account']['emojis'],20)." ".emojify(strip_tags($post['content'],'
'),$post['emojis'],20)."
diff --git a/css/mobile.css b/css/mobile.css index f9a82cd..012a2c5 100644 --- a/css/mobile.css +++ b/css/mobile.css @@ -110,7 +110,7 @@ textarea { display: inline-block; margin:0px !important; text-align: left; - word-break: break-all; + word-break: break-word; font-size:12px !important; } diff --git a/css/style.css b/css/style.css index 4d0dc6a..69f71e6 100644 --- a/css/style.css +++ b/css/style.css @@ -558,7 +558,7 @@ aside { display: inline-block; margin:0px !important; text-align: left; - word-break: break-all; + word-break: break-word; } .post_footer { diff --git a/layout/footer.php b/layout/footer.php index a9c6cf8..c96baff 100644 --- a/layout/footer.php +++ b/layout/footer.php @@ -242,7 +242,7 @@ $query = http_build_query(array_filter(array( }, 15000); function notificaton(message){ - var notif = "
"+message+"
"; + var notif = "
"+message+"
"; $('#hiddenside').append(notif); $('#hiddenside').children().each(function(index) { $(this).delay(4000 + (1000 * index)).fadeOut("slow");