mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Improve readability in small width contexts
Use text-align:left on mobiles instead of justify Use hyphenator.js to hyphenate wallet's description (CSS hyphenation will need to support hyphenate-limit-zone to be used while not generating too much hyphens)
This commit is contained in:
parent
c40c6c68bf
commit
db9910ffa9
13 changed files with 2977 additions and 27 deletions
|
@ -24,6 +24,17 @@ menu:
|
|||
{% if page.lang == 'ar' or page.lang == 'fa' %}{% lesscss rtl.less %}{% endif %}
|
||||
{% if page.lang == 'pl' or page.lang == 'ru' or page.lang == 'zh_CN' or page.lang == 'zh_TW' %}{% lesscss sans.less %}{% endif %}
|
||||
<script type="text/javascript" src="/js/main.js"></script>
|
||||
{% if page.lang == 'de' or page.lang == 'es' or page.lang == 'it' or page.lang == 'nl' or page.lang == 'pl' or page.lang == 'ru' or page.lang == 'tr' %}
|
||||
<script src="/js/hyphenator.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
if(typeof(legacyIE)==='undefined'){
|
||||
Hyphenator.config({
|
||||
{% if page.lang == 'ru' %}minwordlength : 7{% else %}minwordlength : 9{% endif %}
|
||||
});
|
||||
Hyphenator.run();
|
||||
}
|
||||
</script>
|
||||
{% endif %}
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
<link rel="apple-touch-icon-precomposed" href="/img/logo_ios.png"/>
|
||||
</head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue