Skip to content

Commit 17cac33

Browse files
committed
Add more wraps
1 parent 0055fc1 commit 17cac33

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/Docs/SchemaClass.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ const InheritedRow = styled.div`
328328
border: 1px solid var(--group-border);
329329
border-radius: 8px;
330330
display: flex;
331-
align-items: center;
331+
align-items: baseline;
332+
flex-wrap: wrap;
332333
gap: 6px;
333334
font-size: 13px;
334335
opacity: 0.6;

src/components/Docs/SchemaType.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ const MetadataGroupValues = styled.div`
114114
const MetadataEntry = styled.div`
115115
display: flex;
116116
align-items: baseline;
117+
flex-wrap: wrap;
117118
`;
118119

119120
const MetadataIcon = styled.span`
@@ -131,6 +132,7 @@ const MetadataName = styled.button`
131132
color: var(--text);
132133
opacity: 0.6;
133134
cursor: pointer;
135+
flex-shrink: 0;
134136
135137
&:hover {
136138
color: var(--highlight);

0 commit comments

Comments
 (0)