Skip to content

Commit ab3995a

Browse files
authored
Merge pull request #205 from Minnowo/css_fixes
Minor CSS fixes
2 parents 50ae8ea + d22bd61 commit ab3995a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

ui/src/common/TagChip.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export const TagChip = ({color, label}: {label: string; color: string}) => {
1515
color: textColor,
1616
cursor: 'text',
1717
minHeight: '32px',
18+
height: 'fit-content',
1819
whiteSpace: 'normal',
1920
wordBreak: 'break-word',
2021
}}

ui/src/devices/DevicesPage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,13 +84,14 @@ export const DevicesPage = () => {
8484
}
8585
}}
8686
onSubmit={onClickSubmit}
87+
style={{minWidth: 128}}
8788
/>
8889
) : (
8990
device.name + (isCurrent ? ' (current)' : '')
9091
)}
9192
</TableCell>
9293
<TableCell title={device.createdAt}>{moment(device.createdAt).fromNow()}</TableCell>
93-
<TableCell title={device.type}>
94+
<TableCell title={device.type} style={{minWidth: 128}}>
9495
{isEdited ? (
9596
<Select
9697
value={editDeviceType}

ui/src/tag/TagPage.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,13 @@ export const TagPage = () => {
8282
}
8383
}}
8484
onSubmit={onClickSubmit}
85+
style={{minWidth: 128}}
8586
/>
8687
) : (
8788
tag.key
8889
)}
8990
</TableCell>
90-
<TableCell>
91+
<TableCell style={{minWidth: 128}}>
9192
{isEdited ? (
9293
<SliderPicker onChange={(c) => setEditing([editKey, editKeyNew, c.hex])} color={editColor} />
9394
) : (

0 commit comments

Comments
 (0)