use break-word instead of break-all everywhere

This commit is contained in:
Aadil Ayub 2022-01-13 10:47:26 +06:00
parent 866348e9b5
commit 2ebd7ba865
4 changed files with 4 additions and 4 deletions

View File

@ -341,7 +341,7 @@ foreach($_GET as $key => $value){
$post = api_get("statuses/".htmlentities($value)); $post = api_get("statuses/".htmlentities($value));
echo "<div class='notifContents' style='max-width:none;'> echo "<div class='notifContents' style='max-width:none;'>
<div style='flex: 0 0 60px; background-size:cover; background-image:url(".$post['account']['avatar']."); border-radius:5px;'></div> <div style='flex: 0 0 60px; background-size:cover; background-image:url(".$post['account']['avatar']."); border-radius:5px;'></div>
<div style='flex: 1; padding-left:5px; padding-right:5px; word-break: break-all; overflow:hidden;'> <div style='flex: 1; padding-left:5px; padding-right:5px; word-break: break-word; overflow:hidden;'>
<span><span style='font-size:12px; font-weight:bold;'><a class='link' style='font-size:12px;' href='?user=9hwsQhjN9oox1iSfK4'>".emojify($post['account']['display_name'],$post['account']['emojis'],20)."</a></span></span> <span><span style='font-size:12px; font-weight:bold;'><a class='link' style='font-size:12px;' href='?user=9hwsQhjN9oox1iSfK4'>".emojify($post['account']['display_name'],$post['account']['emojis'],20)."</a></span></span>
<a style='text-decoration:none;' class='ldr' href='?thread=9nngbBWBRHvILwEoF6' target='_blank'><span style='display:block; opacity:1; font-size:10px; line-height:12px;'>".emojify(strip_tags($post['content'],'<br>'),$post['emojis'],20)."</span></a> <a style='text-decoration:none;' class='ldr' href='?thread=9nngbBWBRHvILwEoF6' target='_blank'><span style='display:block; opacity:1; font-size:10px; line-height:12px;'>".emojify(strip_tags($post['content'],'<br>'),$post['emojis'],20)."</span></a>
</div> </div>

View File

@ -110,7 +110,7 @@ textarea {
display: inline-block; display: inline-block;
margin:0px !important; margin:0px !important;
text-align: left; text-align: left;
word-break: break-all; word-break: break-word;
font-size:12px !important; font-size:12px !important;
} }

View File

@ -558,7 +558,7 @@ aside {
display: inline-block; display: inline-block;
margin:0px !important; margin:0px !important;
text-align: left; text-align: left;
word-break: break-all; word-break: break-word;
} }
.post_footer { .post_footer {

View File

@ -242,7 +242,7 @@ $query = http_build_query(array_filter(array(
}, 15000); }, 15000);
function notificaton(message){ function notificaton(message){
var notif = "<div class='notif error' style='border-left:3px solid red; background-color:pink;'> <div class='notifContents'> <div style='flex: 0 0 60px; background-size:cover; border-radius:5px;'></div> <div style='flex: 1; padding-left:5px; padding-right:5px; word-break: break-all; overflow:hidden;'> <span>"+message+"</span> </div> </div> </div>"; var notif = "<div class='notif error' style='border-left:3px solid red; background-color:pink;'> <div class='notifContents'> <div style='flex: 0 0 60px; background-size:cover; border-radius:5px;'></div> <div style='flex: 1; padding-left:5px; padding-right:5px; word-break: break-word; overflow:hidden;'> <span>"+message+"</span> </div> </div> </div>";
$('#hiddenside').append(notif); $('#hiddenside').append(notif);
$('#hiddenside').children().each(function(index) { $('#hiddenside').children().each(function(index) {
$(this).delay(4000 + (1000 * index)).fadeOut("slow"); $(this).delay(4000 + (1000 * index)).fadeOut("slow");