mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-06 05:09:09 +08:00
fix: prevent message overflow when minimized width (#6775)
This commit is contained in:
parent
7c6ff22a4c
commit
11b14c9bd5
@ -287,7 +287,7 @@ const GridContainer = styled.div<{ $count: number; $layout: MultiModelMessageSty
|
|||||||
gap: ${({ $layout }) => ($layout === 'horizontal' ? '16px' : '0')};
|
gap: ${({ $layout }) => ($layout === 'horizontal' ? '16px' : '0')};
|
||||||
grid-template-columns: repeat(
|
grid-template-columns: repeat(
|
||||||
${({ $layout, $count }) => (['fold', 'vertical'].includes($layout) ? 1 : $count)},
|
${({ $layout, $count }) => (['fold', 'vertical'].includes($layout) ? 1 : $count)},
|
||||||
minmax(550px, 1fr)
|
minmax(480px, 1fr)
|
||||||
);
|
);
|
||||||
@media (max-width: 800px) {
|
@media (max-width: 800px) {
|
||||||
grid-template-columns: repeat(
|
grid-template-columns: repeat(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user