forked from wangziqi/gongxue-base
feat: 登录卡片改为 maxWidth + calc 响应式宽度
This commit is contained in:
@@ -38,7 +38,8 @@ const LoginPage: React.FC = () => {
|
|||||||
>
|
>
|
||||||
<Card
|
<Card
|
||||||
style={{
|
style={{
|
||||||
width: 400,
|
maxWidth: 400,
|
||||||
|
width: 'calc(100vw - 48px)',
|
||||||
borderRadius: 16,
|
borderRadius: 16,
|
||||||
boxShadow: '0 4px 24px rgba(0,0,0,0.08)',
|
boxShadow: '0 4px 24px rgba(0,0,0,0.08)',
|
||||||
border: 'none',
|
border: 'none',
|
||||||
|
|||||||
Reference in New Issue
Block a user