mirror of
https://github.com/hexastack/hexabot
synced 2024-12-02 09:05:06 +00:00
fix: update PostbackInput chip padding
This commit is contained in:
parent
76e2031829
commit
6f210b7350
@ -21,6 +21,7 @@ import { Input } from "@/app-components/inputs/Input";
|
|||||||
import { useFind } from "@/hooks/crud/useFind";
|
import { useFind } from "@/hooks/crud/useFind";
|
||||||
import { useGetFromCache } from "@/hooks/crud/useGet";
|
import { useGetFromCache } from "@/hooks/crud/useGet";
|
||||||
import { useTranslate } from "@/hooks/useTranslate";
|
import { useTranslate } from "@/hooks/useTranslate";
|
||||||
|
import { theme } from "@/layout/themes/theme";
|
||||||
import { EntityType, Format } from "@/services/types";
|
import { EntityType, Format } from "@/services/types";
|
||||||
import { IBlock, PayloadPattern } from "@/types/block.types";
|
import { IBlock, PayloadPattern } from "@/types/block.types";
|
||||||
import {
|
import {
|
||||||
@ -243,12 +244,16 @@ export const PostbackInput = ({
|
|||||||
<InputAdornment position="start">
|
<InputAdornment position="start">
|
||||||
<Chip
|
<Chip
|
||||||
sx={{
|
sx={{
|
||||||
|
position: "relative",
|
||||||
|
left: "8px",
|
||||||
|
height: "25px",
|
||||||
fontSize: "12px",
|
fontSize: "12px",
|
||||||
minWidth: "75px",
|
minWidth: "75px",
|
||||||
maxHeight: "30px",
|
maxHeight: "30px",
|
||||||
borderRadius: "16px 0 0 16px",
|
borderRadius: "16px 0 0 16px",
|
||||||
|
borderRight: "none",
|
||||||
|
borderColor: theme.palette.grey[400],
|
||||||
}}
|
}}
|
||||||
style={{ padding: 0, margin: 0 }}
|
|
||||||
color="primary"
|
color="primary"
|
||||||
label={selectedValue?.type || t("label.postback")}
|
label={selectedValue?.type || t("label.postback")}
|
||||||
variant="role"
|
variant="role"
|
||||||
|
Loading…
Reference in New Issue
Block a user