Skip to content

Commit

Permalink
fixed problems with margin negative (RocketChat#10558)
Browse files Browse the repository at this point in the history
[FIX] Switch buttons were cutting in RTL mode
  • Loading branch information
ggazzo authored and rodrigok committed Apr 26, 2018
1 parent d0c5ae3 commit aeda3b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@
animation-name: fadeIn;
animation-duration: 1s;

margin: 0 -25px;

&__wrapper {
overflow-x: hidden;
overflow-y: auto;

padding: 0 25px;

height: 100%;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@

display: flex;

margin: 0 30px;

color: var(--modal-back-button-color);
align-items: center;
}
Expand Down
2 changes: 2 additions & 0 deletions packages/rocketchat-theme/client/imports/forms/switch.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
.rc-switch {
padding: 0 0.25rem;

&__label {
display: flex;

Expand Down

0 comments on commit aeda3b3

Please sign in to comment.