feat: responsive card pages
This commit is contained in:
@ -92,15 +92,7 @@ function GainPanel({
|
||||
};
|
||||
|
||||
return (
|
||||
<div
|
||||
className="gain-panel-frame"
|
||||
style={
|
||||
{
|
||||
'--panel-w': DESIGN_WIDTH,
|
||||
'--panel-h': DESIGN_HEIGHT,
|
||||
} as React.CSSProperties
|
||||
}
|
||||
>
|
||||
<div className="gain-panel-frame">
|
||||
<AutoScale designWidth={DESIGN_WIDTH} designHeight={DESIGN_HEIGHT}>
|
||||
<div className="gain-panel" style={{ width: DESIGN_WIDTH, height: DESIGN_HEIGHT }}>
|
||||
<div className="gain-panel__title">{title}</div>
|
||||
|
||||
Reference in New Issue
Block a user