mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
fixing micro scrolling in layout
This commit is contained in:
@@ -39,6 +39,9 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<div style="height: 100vh;">
|
||||||
|
|
||||||
|
|
||||||
@if (loading)
|
@if (loading)
|
||||||
{
|
{
|
||||||
<Spinner />
|
<Spinner />
|
||||||
@@ -46,7 +49,7 @@
|
|||||||
|
|
||||||
@if (planner.LocalCourse != null)
|
@if (planner.LocalCourse != null)
|
||||||
{
|
{
|
||||||
<div class="mb-3 d-flex justify-content-between" style="height: 4em;">
|
<div class="pb-3 d-flex justify-content-between" style="height: 4em;">
|
||||||
<div class="my-auto">
|
<div class="my-auto">
|
||||||
<button @onclick="selectNewCourse" class="btn btn-primary">
|
<button @onclick="selectNewCourse" class="btn btn-primary">
|
||||||
Select New Course
|
Select New Course
|
||||||
@@ -73,4 +76,5 @@
|
|||||||
</div>
|
</div>
|
||||||
<CourseDetails />
|
<CourseDetails />
|
||||||
}
|
}
|
||||||
<br>
|
|
||||||
|
</div>
|
||||||
@@ -9,7 +9,6 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<base href="~/" />
|
<base href="~/" />
|
||||||
@* <link rel="stylesheet" href="css/bootstrap/bootstrap.min.css" /> *@
|
|
||||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-9ndCyUaIbzAi2FUVXJi0CjmCapSmO7SnpJef0486qhLnuZ2cdeRhO02iuK6FUUVM" crossorigin="anonymous">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-geWF76RCwLtnZ8qwWowPQNguL3RmwHVBC9FhGdlKrxdiJJigb/j/68SIy3Te4Bkz" crossorigin="anonymous"></script>
|
||||||
<link href="css/site.css" rel="stylesheet" />
|
<link href="css/site.css" rel="stylesheet" />
|
||||||
@@ -23,7 +22,7 @@
|
|||||||
<body data-bs-theme="dark">
|
<body data-bs-theme="dark">
|
||||||
<component type="typeof(App)" render-mode="ServerPrerendered" />
|
<component type="typeof(App)" render-mode="ServerPrerendered" />
|
||||||
|
|
||||||
<div id="blazor-error-ui">
|
<div id="blazor-error-ui" class="p-0 m-0">
|
||||||
<environment include="Staging,Production">
|
<environment include="Staging,Production">
|
||||||
An error has occurred. This application may no longer respond until reloaded.
|
An error has occurred. This application may no longer respond until reloaded.
|
||||||
</environment>
|
</environment>
|
||||||
|
|||||||
@@ -2,19 +2,9 @@
|
|||||||
|
|
||||||
<PageTitle>Management.Web</PageTitle>
|
<PageTitle>Management.Web</PageTitle>
|
||||||
|
|
||||||
<div class="page">
|
|
||||||
@* <div class="sidebar">
|
|
||||||
<NavMenu />
|
|
||||||
</div> *@
|
|
||||||
|
|
||||||
<main>
|
<main class="d-flex justify-content-center">
|
||||||
@* maybe put some common buttons up here *@
|
<div class="w-100 px-3">
|
||||||
@* <div class="top-row px-4">
|
@Body
|
||||||
<a href="https://docs.microsoft.com/aspnet/" target="_blank">About</a>
|
</div>
|
||||||
</div> *@
|
</main>
|
||||||
|
|
||||||
<article class="content px-4 py-0">
|
|
||||||
@Body
|
|
||||||
</article>
|
|
||||||
</main>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -3,6 +3,10 @@ html,
|
|||||||
body {
|
body {
|
||||||
font-family: "DM Sans", sans-serif;
|
font-family: "DM Sans", sans-serif;
|
||||||
}
|
}
|
||||||
|
:root, #page, main {
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
#blazor-error-ui {
|
#blazor-error-ui {
|
||||||
background: lightyellow;
|
background: lightyellow;
|
||||||
|
|||||||
Reference in New Issue
Block a user