Ignore:
Timestamp:
01/28/26 21:15:38 (5 months ago)
Author:
Mihail <mihail2.naumov@…>
Branches:
main
Children:
adc31ef
Parents:
1d8f088
Message:

Fixed specs displaying in the forge page and some scaling issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pages/forge/+Page.tsx

    r1d8f088 r1b5c18b  
    538538                    Add Optional Component
    539539                </Button>
    540                 <Menu anchorEl={anchorEl} open={Boolean(anchorEl)} onClose={() => setAnchorEl(null)}>
     540                <Menu
     541                    anchorEl={anchorEl}
     542                    open={Boolean(anchorEl)}
     543                    onClose={() => setAnchorEl(null)}
     544                    anchorReference="none"
     545                    sx={{
     546                        display: 'flex',
     547                        alignItems: 'center',
     548                        justifyContent: 'center',
     549                    }}
     550                    slotProps={{
     551                        paper: {
     552                            sx: {
     553                                position: 'absolute',
     554                                top: '30%',
     555                                // left: '50%',
     556                                // transform: 'translate(50%, +50%)',
     557                            }
     558                        }
     559                    }}
     560                >
    541561                    {/*Removed RAM & Storage from optional components*/}
    542562                    <Typography sx={{px: 2, py: 1, display: 'block', color: 'text.secondary'}}>
Note: See TracChangeset for help on using the changeset viewer.