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

Commit

Permalink
Fix: Alignment Fixed (#11648)
Browse files Browse the repository at this point in the history
* Fix: Alignment Fixed

* Fix: Pinned Widget also aligned

---------

Co-authored-by: Manan Sadana <manan.sadana@cnhteam.onmicrosoft.com>
  • Loading branch information
manancodes and Manan Sadana authored Sep 22, 2023
1 parent 1c2d604 commit 5604496
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 7 additions & 1 deletion res/css/views/right_panel/_RoomSummaryCard.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,14 @@ limitations under the License.
padding: 10px 48px 10px 12px; /* based on typical mx_RoomSummaryCard_Button padding */
text-overflow: ellipsis;
overflow: hidden;

display: flex;
justify-content: center;
span {
/* Center aligned and Spacing matched with the About section above the Widgets section */
margin-right: 10px;
display: flex;
justify-content: center;
align-items: center;
color: $primary-content;
}
}
Expand Down
3 changes: 3 additions & 0 deletions res/css/views/rooms/_AppsDrawer.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,9 @@ limitations under the License.

> :last-child {
margin-left: 9px;
display: flex;
justify-content: center;
align-items: center;
}
}

Expand Down

0 comments on commit 5604496

Please sign in to comment.