mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-31 00:10:22 +08:00
feat(message-group): improve layout style (#7803)
This commit is contained in:
parent
d7f2ebcb6e
commit
985859f1c3
@ -265,7 +265,7 @@ const GridContainer = styled(Scrollbar)<{ $count: number; $gridColumns: number }
|
||||
gap: 16px;
|
||||
&.horizontal {
|
||||
padding-bottom: 4px;
|
||||
grid-template-columns: repeat(${({ $count }) => $count}, minmax(480px, 1fr));
|
||||
grid-template-columns: repeat(${({ $count }) => $count}, minmax(0, 1fr));
|
||||
overflow-x: auto;
|
||||
}
|
||||
&.fold,
|
||||
@ -308,6 +308,7 @@ interface MessageWrapperProps {
|
||||
|
||||
const MessageWrapper = styled.div<MessageWrapperProps>`
|
||||
&.horizontal {
|
||||
padding-right: 1px;
|
||||
overflow-y: auto;
|
||||
.message {
|
||||
height: 100%;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user