Please or Register to create posts and topics.

too big gap between post lines

PreviousPage 2 of 3Next

Thanks a lot!

 

Hello again @bigworld

Here is another css-snippet which hopefully works with all browsers:

#af-wrapper .post-wrapper {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

Please let me know if this works fine so I can include it in the upcoming update. 🙂

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

1. No issue with a long link
2. The issue with a word-break is still available.

 

I chose a life without code. In this case I have no issues with a word-break and a big gap between lines.

Let users hide their links behind the keywords.

@bigworld

But if fixes the broken design and the gaps between lines, right?

Can you provide me the text for which it is not working? Hopefully I can find a solution for this.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Hi

Plz use this text:


Провальные, оскорбительные кампании — часто результат не столько повышенной чувствительности аудитории, сколько банального непрофессионализма. По мнению Павла Гурова, SMM-специалиста, создателя агентства gurovagency.com, именно с таким случаем мы имели дело в истории с «Тануки». Новый руководитель отдела социальных медиа использовал фото знаменитости, нарушив авторские права; даже не знал, что это — знаменитость и женщина с хроническим заболеванием; заодно поиздевался над людьми с большим весом, как будто им и так ежедневно не достается от окружающих.


Red letters are word parts cut incorrect from word.

 

Picture:

 

 

– But if fixes the broken design and the gaps between lines, right?

– The only issue is incorrect word breaking in Russian.

No other issues.

@bigworld Mh, as far as I know “smart” word-breaking for languages is usually based on some kind of language-dictionary which consists of rules which defines at which position it is gramatically allowed to break a word. I am not sure if those rules are fetched from the browser or the operating system itself. Does the meta-section of your website-header contain a tag with a lang-attribute which include the language-shortcode of the language which is used on your website?

It can look like the following (Spanish example):

<meta name="language" content="Spanish">

<meta http-equiv="content-language" content="es">

<html lang="es">

If this information is not included, it can be possible that the browser is not able to detect your used language and so it has no clue on where to break the words correctly.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I have no issue with word-breaking again, because I deleted the code you provide me with.

The only problem is your code that was made to solve an issue of incorrect forum page view. The code solved one problem, but brought another one. A right word-breaking is more important then page design, that is the reason why I deleted the code.

You still have permission to my site and you are welcomed if you need to test solutions.

 

 

Hello again @bigworld

Next and hopefully the last try to finally fix this issue. Please add the following code to Forum – Appearance – Custom CSS:

#af-wrapper .post-message a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

Let me know if this fix the issue so I can include it in the next update.

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!
PreviousPage 2 of 3Next