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

Commit

Permalink
Reduce pinned message banner size (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros authored Sep 11, 2024
1 parent 433c14e commit 75918f5
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 5 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 2 additions & 5 deletions res/css/views/rooms/_PinnedMessageBanner.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
align-items: center;
justify-content: space-between;
gap: var(--cpd-space-4x);
/* 80px = 79px + 1px from the bottom border */
height: 79px;
/* 64px = 63px + 1px from the bottom border */
height: 63px;
padding: 0 var(--cpd-space-4x);

background-color: var(--cpd-color-bg-canvas-default);
Expand Down Expand Up @@ -106,9 +106,6 @@
}

.mx_PinnedMessageBanner[data-single-message="true"] {
/* 64px = 63px + 1px from the bottom border */
height: 63px;

.mx_PinnedMessageBanner_content {
grid-template: "indicators pinIcon message" auto;

Expand Down

0 comments on commit 75918f5

Please sign in to comment.