make function modal fit into mobile version

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-03-04 13:49:13 +03:00
parent 843093915f
commit f7198b9e3f
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB
4 changed files with 4 additions and 2 deletions

View File

@ -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",

View File

@ -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"

View File

@ -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) {

View File

@ -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);