fix: Improved breakpoints for pins on mobile
fix: Prevent clock icon shrinking fix: Prevent metadata wrapping
This commit is contained in:
@@ -126,8 +126,8 @@ function PinnedDocuments({ limit, pins, canUpdate, ...rest }: Props) {
|
||||
const List = styled.div`
|
||||
display: grid;
|
||||
column-gap: 8px;
|
||||
row-gap: 8px;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
row-gap: 12px;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
margin: 16px 0 32px;
|
||||
@@ -136,6 +136,10 @@ const List = styled.div`
|
||||
display: none;
|
||||
}
|
||||
|
||||
${breakpoint("mobileLarge")`
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
`};
|
||||
|
||||
${breakpoint("tablet")`
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
`};
|
||||
|
||||
Reference in New Issue
Block a user