Skip to content

Commit

Permalink
Merge pull request #7970 from RocketChat/padding-fixes
Browse files Browse the repository at this point in the history
[FIX] Small alignment fixes
  • Loading branch information
engelgabriel authored and rodrigok committed Aug 30, 2017
1 parent c974bda commit 5c6d514
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
}

&__label {
padding: 2px 10px;
padding: 2px 0;

cursor: pointer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.sidebar__account {
display: flex;

margin-bottom: 40px;
margin-bottom: 12px;
align-items: center;

&--lighten {
Expand Down
4 changes: 2 additions & 2 deletions packages/rocketchat-theme/client/imports/forms/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
justify-content: center;

& + .rc-input__element {
padding: 0.75rem 1rem 0.75rem 3.25rem;
padding: 0.75rem 1rem 0.75rem 2.75rem;
}

& + .rc-input__element--small {
padding: 0.5rem 1rem 0.5rem 3.25rem;
padding: 0.5rem 1rem 0.5rem 2.75rem;
}

&--right {
Expand Down
16 changes: 5 additions & 11 deletions packages/rocketchat-theme/client/imports/general/base_old.css
Original file line number Diff line number Diff line change
Expand Up @@ -3024,16 +3024,16 @@

& .thumb {
position: absolute;
left: 20px;
left: 24px;

display: block;

width: 40px;
height: 40px;
width: 36px;
height: 36px;

&:not(.thumb-small) .avatar {
width: 40px;
height: 40px;
width: 36px;
height: 36px;
}

&.thumb-small {
Expand Down Expand Up @@ -3124,10 +3124,6 @@
}
}

& .body {
margin-top: 0;
}

&:hover .edited {
display: none;
}
Expand Down Expand Up @@ -3158,8 +3154,6 @@
}

& .body {
margin-top: 2px;

transition: opacity 1s linear;

opacity: 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
--message-box-user-typing-color: var(--color-gray);
--message-box-user-typing-text-size: 0.75rem;
--message-box-user-typing-user-color: var(--color-dark);
--message-box-container-border-color: var(--color-gray-light);
--message-box-container-border-color: var(--color-gray-medium);
--message-box-container-border-width: var(--border);
--message-box-container-border-radius: var(--border-radius);
--message-box-editing-color: #fff5df;
Expand Down

0 comments on commit 5c6d514

Please sign in to comment.