feat(app): redesign discovery and align skeletons with rendered UI

This commit is contained in:
Hampus authored and GitHub committed 2026-08-16 19:17:28 +02:00
1 parent e054aa96be
commit 98c40c6979
380 files changed
+50869 -32207

No files matched your search

@@ -2,7 +2,7 @@
import {EMOJIS_PER_ROW} from '@app/features/channel/components/emoji_picker/EmojiPickerConstants';
import {STICKERS_PER_ROW_MOBILE} from '@app/features/channel/components/sticker_picker/StickerPickerConstants';
import {getAppZoomFactor} from '@app/features/ui/utils/AppZoomUtils';
import {getAppRemScale} from '@app/features/ui/utils/AppZoomUtils';
const MOBILE_LIST_INLINE_PADDING = 8;
const MOBILE_EMOJI_MIN_CELL_WIDTH = 32;
@@ -13,7 +13,7 @@ function getAvailableGridWidth(containerWidth: number): number {
if (containerWidth <= 0) {
return 0;
}
return Math.max(0, containerWidth / getAppZoomFactor() - MOBILE_LIST_INLINE_PADDING);
return Math.max(0, containerWidth / getAppRemScale() - MOBILE_LIST_INLINE_PADDING);
}
function getPreferredGridColumns(params: {