Commit 1fd6b602 authored by Steve Sanderson's avatar Steve Sanderson
Browse files

Fix use of 'main' styling

parent d95d430c
......@@ -2,7 +2,7 @@
@inject HttpClient HttpClient
@inject IUriHelper UriHelper
<div class="main px-4">
<div class="main">
<ul class="pizza-cards">
@if (specials != null)
{
......
......@@ -2,7 +2,7 @@
@layout ForceSignInLayout
@inject HttpClient HttpClient
<div class="main px-4 py-4">
<div class="main">
@if (ordersWithStatus == null)
{
<text>Loading...</text>
......
......@@ -4,7 +4,7 @@
@inject HttpClient HttpClient
@implements IDisposable
<div class="main px-4 py-4">
<div class="main">
@if (invalidOrder)
{
<h2>Nope</h2>
......
......@@ -11,7 +11,7 @@ else if (UserState.IsLoggedIn)
}
else
{
<div class="main px-4 py-4">
<div class="main">
<h2>You're signed out</h2>
<p>To continue, please sign in.</p>
<button class="btn btn-danger" onclick="@UserState.SignIn">Sign in</button>
......
......@@ -46,6 +46,7 @@ form {
overflow-y: auto;
background: linear-gradient(rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 80%);
background-size: 0.5rem;
padding: 1.5rem !important;
}
.nav-tab {
......@@ -121,13 +122,6 @@ form {
font-size: 0.8rem;
}
.content .main {
/* background-color: rgba(230,230,230); */
box-shadow: 2px 0 6px 3px rgba(0,0,0,0.2);
z-index: 1;
padding: 2.2rem 0;
}
.pizza-cards {
display: grid;
grid-template-columns: repeat(auto-fill, 20rem);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment