Add RTL support to the default chat style

Fixes #64
This commit is contained in:
Dmitriy Simushev 2014-09-10 10:16:30 +00:00
parent 97ab17ce7a
commit 7c969e495e
2 changed files with 6 additions and 2 deletions

View File

@ -25,6 +25,10 @@ body {
min-width: 500px;
background-color: #F1F2F2;
}
body.rtl {
text-align: right;
direction: rtl;
}
body.invitation {
min-width: 0;
min-height: 0;

View File

@ -1,5 +1,5 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"{{#if rtl}} dir="rtl"{{/if}}>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>{{#block "windowTitle"}}{{l10n "Mibew Messenger"}}{{/block}}</title>
@ -8,7 +8,7 @@
{{#block "head"}}{{/block}}
</head>
<body{{#if startFrom}} class="{{startFrom}}"{{/if}}>
<body class="{{#if startFrom}}{{startFrom}}{{/if}}{{#if rtl}} rtl{{/if}}">
{{#block "page"}}
{{! Logo block}}
<div id="top2">