Skip to content

Commit

Permalink
make sure the image does not break
Browse files Browse the repository at this point in the history
  • Loading branch information
joscha committed Dec 1, 2014
1 parent 0414594 commit 8d4cbad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions chrome/css/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@
}
}

.mailfred-auth-text {
float: left;
width: 245px;
text-align: justify;
padding-right: 10px;
}


.mailfred-popup {
[act='manual'],[act='presets'] {
Expand Down
3 changes: 2 additions & 1 deletion chrome/js/src/content.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
@CLS_PICKER: M.CLS + '-picker'
@CLS_LOADER: M.CLS + '-loader'
@CLS_AUTH_IMG: M.CLS + '-auth-image'
@CLS_AUTH_TXT: M.CLS + '-auth-text'

@ID_PREFIX: M.CLS + '-id-'

Expand Down Expand Up @@ -549,7 +550,7 @@
dialogText = __msg 'authorizeDialogText', extName
dialogText = dialogText.replace /\n/g, '<br/>'
"""
<div style="float: left; width: 250px; text-align: justify; padding-right: 10px;">
<div class="#{M.CLS_AUTH_TXT}">
#{dialogText}
</div>
<div class="#{M.CLS_AUTH_IMG}">
Expand Down

0 comments on commit 8d4cbad

Please sign in to comment.