mirror of
https://github.com/dec0dOS/zero-ui.git
synced 2025-07-07 21:41:41 -07:00
feat: some improvements in ui for caps and tags
This commit is contained in:
parent
3827fe81a1
commit
2f27c112ea
2 changed files with 8 additions and 4 deletions
|
@ -60,7 +60,7 @@ function MemberSettings({ member, network, handleChange }) {
|
|||
</Grid>
|
||||
<Grid container spacing={2}>
|
||||
<Grid item xs={12}>
|
||||
<Typography variant="h5">Capabilities</Typography>
|
||||
<Typography variant="h6">Capabilities</Typography>
|
||||
</Grid>
|
||||
<Grid item xs={12}>
|
||||
<Paper style={{ padding: 20 }}>
|
||||
|
@ -96,7 +96,7 @@ function MemberSettings({ member, network, handleChange }) {
|
|||
</Grid>
|
||||
<Grid container spacing={2}>
|
||||
<Grid item xs={12}>
|
||||
<Typography variant="h5">Tags</Typography>
|
||||
<Typography variant="h6">Tags</Typography>
|
||||
</Grid>
|
||||
{Object.entries(network["tagsByName"] || []).length === 0 ? (
|
||||
<Grid item xs={12}>
|
||||
|
|
|
@ -93,7 +93,7 @@ function Tag({ member, tagName, tagDetail, handleChange }) {
|
|||
<Grid container spacing={2}>
|
||||
<Grid item xs={12}>
|
||||
<Typography
|
||||
variant="h5"
|
||||
variant="h6"
|
||||
color={tagValue === "" ? "error" : "primary"}
|
||||
>
|
||||
{tagName}
|
||||
|
@ -139,7 +139,11 @@ function Tag({ member, tagName, tagDetail, handleChange }) {
|
|||
</Select>
|
||||
</Grid>
|
||||
<Grid item xs={6}>
|
||||
<Input value={tagValue} onChange={handleInputChange} />
|
||||
<Input
|
||||
value={tagValue}
|
||||
onChange={handleInputChange}
|
||||
placeholder="Tag Enum ID"
|
||||
/>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Grid item xs={12}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue