1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-15 02:18:42 +02:00

set widths are only for english

This commit is contained in:
Kyle Spearrin 2017-09-19 12:30:19 -04:00
parent 090c9ecf50
commit 438ccd0f9e
2 changed files with 4 additions and 2 deletions

View File

@ -80,12 +80,12 @@ button.link {
text-decoration: underline; text-decoration: underline;
} }
.add-buttons { body[class*='lang-en'] .add-buttons {
width: 175px; width: 175px;
} }
@media (min-width: 768px) { @media (min-width: 768px) {
.add-buttons { body[class*='lang-en'] .add-buttons {
width: 320px; width: 320px;
} }
} }

View File

@ -3,6 +3,8 @@
closeButton = $('#close-button'); closeButton = $('#close-button');
// i18n // i18n
$('body').addClass('lang-' + chrome.i18n.getUILanguage());
$('#logo-link').attr('title', chrome.i18n.getMessage('appName')); $('#logo-link').attr('title', chrome.i18n.getMessage('appName'));
closeButton.attr('title', chrome.i18n.getMessage('close')); closeButton.attr('title', chrome.i18n.getMessage('close'));