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

Commit 75918f5

Browse files
authored
Reduce pinned message banner size (#28)
1 parent 433c14e commit 75918f5

7 files changed

+2
-5
lines changed

res/css/views/rooms/_PinnedMessageBanner.pcss

+2-5
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
align-items: center;
1212
justify-content: space-between;
1313
gap: var(--cpd-space-4x);
14-
/* 80px = 79px + 1px from the bottom border */
15-
height: 79px;
14+
/* 64px = 63px + 1px from the bottom border */
15+
height: 63px;
1616
padding: 0 var(--cpd-space-4x);
1717

1818
background-color: var(--cpd-color-bg-canvas-default);
@@ -106,9 +106,6 @@
106106
}
107107

108108
.mx_PinnedMessageBanner[data-single-message="true"] {
109-
/* 64px = 63px + 1px from the bottom border */
110-
height: 63px;
111-
112109
.mx_PinnedMessageBanner_content {
113110
grid-template: "indicators pinIcon message" auto;
114111

0 commit comments

Comments
 (0)