Fix mobile display of login/register/first-time-setup

dhcp-server
Pat Hartl 2023-09-03 16:17:45 -05:00
parent f104c58c0d
commit 7dc19b9686
4 changed files with 11 additions and 7 deletions

View File

@ -7,8 +7,8 @@
ViewData["Title"] = "First Time Setup";
}
<div class="ant-row ant-row-middle ant-row-space-around" style="position: absolute; top:0; left: 0; right: 0; bottom: 0;">
<div class="ant-col ant-col-10">
<div class="ant-row ant-row-middle ant-row-space-around" style="min-height: 100vh; margin-top: -24px;">
<div class="ant-col ant-col-xs-24 ant-col-md-10">
<div style="text-align: center; margin-bottom: 24px;">
<img src="~/static/logo.svg" />

View File

@ -6,8 +6,8 @@
ViewData["Title"] = "Log in";
}
<div class="ant-row ant-row-middle ant-row-space-around" style="position: absolute; top:0; left: 0; right: 0; bottom: 0;">
<div class="ant-col ant-col-10">
<div class="ant-row ant-row-middle ant-row-space-around" style="min-height: 100vh; margin-top: -24px;">
<div class="ant-col ant-col-xs-24 ant-col-md-10">
<div style="text-align: center; margin-bottom: 24px;">
<img src="~/static/logo.svg" />

View File

@ -5,8 +5,8 @@
ViewData["Title"] = "Register";
}
<div class="ant-row ant-row-middle ant-row-space-around" style="position: absolute; top:0; left: 0; right: 0; bottom: 0;">
<div class="ant-col ant-col-10">
<div class="ant-row ant-row-middle ant-row-space-around" style="min-height: 100vh; margin-top: -24px;">
<div class="ant-col ant-col-xs-24 ant-col-md-10">
<div style="text-align: center; margin-bottom: 24px;">
<img src="~/static/logo.svg" />

View File

@ -9,7 +9,11 @@
<link href="~/css/site.css" rel="stylesheet" />
</head>
<body>
@RenderBody()
<section class="layout ant-layout">
<main class="ant-layout-content" style="padding: 24px; min-height: 100vh;">
@RenderBody()
</main>
</section>
<script src="~/lib/jquery/dist/jquery.min.js"></script>
<script src="~/lib/antv/g2plot/dist/g2plot.js"></script>