Reduce channel banner height to 26px (#9520) (#9534)

(cherry picked from commit cef108db68)

Co-authored-by: David Krauser <david@krauser.org>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Mattermost Build 2026-02-19 08:47:18 +02:00 committed by GitHub
parent 8f9210ec5b
commit 00dc0b56a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View file

@ -31,7 +31,7 @@ export const CALL_NOTIFICATION_BAR_HEIGHT = 40;
export const ANNOUNCEMENT_BAR_HEIGHT = 40;
export const BOOKMARKS_BAR_HEIGHT = 48;
export const CHANNEL_BANNER_HEIGHT = 32;
export const CHANNEL_BANNER_HEIGHT = 26;
export const HOME_PADDING = {
paddingLeft: 18,

View file

@ -27,8 +27,8 @@ const CLOSE_BUTTON_ID = 'channel-banner-close';
const getStyleSheet = (bannerTextColor: string) => ({
container: {
paddingTop: 5,
paddingBottom: 5,
paddingTop: 2,
paddingBottom: 2,
paddingLeft: 16,
paddingRight: 16,
height: CHANNEL_BANNER_HEIGHT,
@ -51,7 +51,6 @@ const getStyleSheet = (bannerTextColor: string) => ({
},
bannerText: {
textAlign: 'center' as const,
},
});