mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-11 08:19:01 +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;
|
gap: 16px;
|
||||||
&.horizontal {
|
&.horizontal {
|
||||||
padding-bottom: 4px;
|
padding-bottom: 4px;
|
||||||
grid-template-columns: repeat(${({ $count }) => $count}, minmax(480px, 1fr));
|
grid-template-columns: repeat(${({ $count }) => $count}, minmax(0, 1fr));
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
&.fold,
|
&.fold,
|
||||||
@ -308,6 +308,7 @@ interface MessageWrapperProps {
|
|||||||
|
|
||||||
const MessageWrapper = styled.div<MessageWrapperProps>`
|
const MessageWrapper = styled.div<MessageWrapperProps>`
|
||||||
&.horizontal {
|
&.horizontal {
|
||||||
|
padding-right: 1px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
.message {
|
.message {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user