make function modal fit into mobile version
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
843093915f
commit
f7198b9e3f
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-dao-interface",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.5.36",
|
"version": "0.5.37",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -34,6 +34,7 @@ const Select = ({
|
|||||||
inputWidth,
|
inputWidth,
|
||||||
renderValue = null,
|
renderValue = null,
|
||||||
width = "100%",
|
width = "100%",
|
||||||
|
maxWidth = "100%"
|
||||||
}) => {
|
}) => {
|
||||||
const theme = useTheme();
|
const theme = useTheme();
|
||||||
return (
|
return (
|
||||||
@ -41,6 +42,7 @@ const Select = ({
|
|||||||
display="flex"
|
display="flex"
|
||||||
flexDirection="column"
|
flexDirection="column"
|
||||||
width={width}
|
width={width}
|
||||||
|
maxWidth={maxWidth}
|
||||||
sx={{ backgroundColor: theme.colors.gray[750] }}
|
sx={{ backgroundColor: theme.colors.gray[750] }}
|
||||||
borderRadius="12px"
|
borderRadius="12px"
|
||||||
padding="15px"
|
padding="15px"
|
||||||
|
|||||||
@ -311,6 +311,7 @@ const TokenAndBooleansArguments = ({
|
|||||||
value={selectedOption ?? ""}
|
value={selectedOption ?? ""}
|
||||||
onChange={handleChange}
|
onChange={handleChange}
|
||||||
options={possibleTokens}
|
options={possibleTokens}
|
||||||
|
maxWidth="calc(100vw - 70px)"
|
||||||
inputWidth="100%"
|
inputWidth="100%"
|
||||||
renderValue={(selected) => {
|
renderValue={(selected) => {
|
||||||
if (!selected || selected.length === 0) {
|
if (!selected || selected.length === 0) {
|
||||||
|
|||||||
@ -257,7 +257,6 @@ export const ArgumentInput = ({
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: rename
|
|
||||||
export const ParsedCell = (props) => {
|
export const ParsedCell = (props) => {
|
||||||
const [isCopied, setIsCopied] = useState(false);
|
const [isCopied, setIsCopied] = useState(false);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user