Reduce pinned message banner size (#28)

This commit is contained in:
Florian Duros 2024-09-11 17:44:16 +02:00 committed by GitHub
parent 433c14e5a9
commit 75918f5b18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 2 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View file

@ -11,8 +11,8 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
gap: var(--cpd-space-4x); gap: var(--cpd-space-4x);
/* 80px = 79px + 1px from the bottom border */ /* 64px = 63px + 1px from the bottom border */
height: 79px; height: 63px;
padding: 0 var(--cpd-space-4x); padding: 0 var(--cpd-space-4x);
background-color: var(--cpd-color-bg-canvas-default); background-color: var(--cpd-color-bg-canvas-default);
@ -106,9 +106,6 @@
} }
.mx_PinnedMessageBanner[data-single-message="true"] { .mx_PinnedMessageBanner[data-single-message="true"] {
/* 64px = 63px + 1px from the bottom border */
height: 63px;
.mx_PinnedMessageBanner_content { .mx_PinnedMessageBanner_content {
grid-template: "indicators pinIcon message" auto; grid-template: "indicators pinIcon message" auto;