Skip to content

Commit

Permalink
Merge pull request #8271 from intwarehq/fix-attachment-icons-alignment
Browse files Browse the repository at this point in the history
[FIX] Attachment icons alignment in LTR and RTL
  • Loading branch information
engelgabriel committed Sep 23, 2017
2 parents 069c2d2 + 06a9318 commit 8e9a45d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/rocketchat-theme/client/imports/general/base_old.css
Original file line number Diff line number Diff line change
Expand Up @@ -3752,6 +3752,11 @@ body:not(.is-cordova) {
}

&.uploaded-files-list {
& ul {
& li {
margin-bottom: 10px;
}
}
& a .file-name {
display: block;

Expand All @@ -3777,19 +3782,14 @@ body:not(.is-cordova) {

& i {
float: left;

margin-right: 10px;

&.file-delete {
float: right;

padding-top: 10px;
}

&.file-download {
float: right;

padding-top: 11px;
}
}
}
Expand Down
9 changes: 8 additions & 1 deletion packages/rocketchat-theme/client/imports/general/rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -669,9 +669,16 @@

& i {
float: right;

margin-right: auto;
margin-left: 10px;

&.file-delete {
float: left;
}

&.file-download {
float: left;
}
}
}
}
Expand Down

0 comments on commit 8e9a45d

Please sign in to comment.