style: login page size

This commit is contained in:
jialin
2026-06-04 15:48:44 +08:00
committed by jialin
parent c4a72eb375
commit 4945242c87
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -351,7 +351,7 @@ export default (props: any) => {
config={{ config={{
apiBaseUrl: GPUSTACK_API_BASE_URL, apiBaseUrl: GPUSTACK_API_BASE_URL,
theme: userSettings.theme, theme: userSettings.theme,
iconUrl: '//at.alicdn.com/t/c/font_4613488_yo03vxgh67k.js', iconUrl: '//at.alicdn.com/t/c/font_4613488_rwchdketjg8.js',
isDarkTheme: userSettings.isDarkTheme, isDarkTheme: userSettings.isDarkTheme,
defaultColorPrimary: COLOR_PRIMARY defaultColorPrimary: COLOR_PRIMARY
}} }}
+2 -3
View File
@@ -77,12 +77,11 @@ const Box = styled.div`
const FormWrapper = styled.div` const FormWrapper = styled.div`
margin: 0 auto; margin: 0 auto;
margin-top: 50vh; margin-top: 50vh;
max-width: 440px; width: 440px;
transform: translateY(-50%); transform: translateY(-50%);
position: relative; position: relative;
z-index: 999; z-index: 999;
border-radius: var(--border-radius-modal); border-radius: var(--border-radius-modal);
width: max-content;
height: max-content; height: max-content;
max-height: 660px; max-height: 660px;
padding: 40px; padding: 40px;
@@ -206,7 +205,7 @@ const Login = () => {
config={{ config={{
apiBaseUrl: GPUSTACK_API_BASE_URL, apiBaseUrl: GPUSTACK_API_BASE_URL,
theme: userSettings.theme, theme: userSettings.theme,
iconUrl: '', iconUrl: '//at.alicdn.com/t/c/font_4613488_rwchdketjg8.js',
isDarkTheme: userSettings.isDarkTheme, isDarkTheme: userSettings.isDarkTheme,
defaultColorPrimary: COLOR_PRIMARY defaultColorPrimary: COLOR_PRIMARY
}} }}