Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
remove padding for BaseCard button
Browse files Browse the repository at this point in the history
this fixes the margin for the number of ppl in a room
  • Loading branch information
toger5 committed Nov 16, 2021
1 parent b161586 commit 0e5ab5c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion res/css/views/right_panel/_BaseCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ limitations under the License.
}

.mx_BaseCard_Button {
padding: 10px 32px 10px 12px;
padding: 10px 10px 10px 12px;
margin: 0;
position: relative;
font-size: $font-13px;
Expand Down
8 changes: 4 additions & 4 deletions res/css/views/right_panel/_RoomSummaryCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -177,15 +177,15 @@ limitations under the License.
}
}
.mx_RoomSummaryCard_app_maximise {
right: 34px; //24 + 8
right: 32px; //24 + 8

&::before {
mask-size: 14px;
mask-image: url("$(res)/img/element-icons/maximise-expand.svg");
}
}
.mx_RoomSummaryCard_app_minimise {
right: 34px; //24 + 8
right: 32px; //24 + 8
&::before {
mask-size: 14px;
mask-image: url("$(res)/img/element-icons/minimise-collapse.svg");
Expand All @@ -194,14 +194,14 @@ limitations under the License.
}

.mx_RoomSummaryCard_app_options {
right: 34px; //24 + 8
right: 32px; //24 + 8
display: none;

&::before {
mask-image: url('$(res)/img/element-icons/room/ellipsis.svg');
}
&.mx_RoomSummaryCard_maximised_widget {
right: 54px; //2*24 + 8
right: 56px; //2*24 + 8
}
}

Expand Down

0 comments on commit 0e5ab5c

Please sign in to comment.