Add max width to layout

This commit is contained in:
2024-03-14 22:01:40 +00:00
parent 3abe91818c
commit 5f1e79b0d4
3 changed files with 14 additions and 95 deletions

View File

@@ -1,6 +1,6 @@
@inherits LayoutComponentBase
<div class="flex flex-col min-h-screen fade-in px-4 md:px-12 lg:px-24 xl:px-32">
<div class="flex flex-col min-h-screen mx-auto max-w-screen-2xl fade-in px-4 md:px-12 lg:px-24">
<NavBar/>
<div class="flex-1 py-8">

View File

@@ -1,5 +1,5 @@
<nav class="bg-black py-4">
<div class="mx-auto max-w-7xl">
<div class="mx-auto">
<div class="relative flex h-20 items-center justify-between">
<div class="absolute inset-y-0 left-0 flex items-center sm:hidden">
<!-- Mobile menu button-->

View File

@@ -634,14 +634,18 @@ video {
display: none;
}
.h-10 {
height: 2.5rem;
}
.h-12 {
height: 3rem;
}
.h-14 {
height: 3.5rem;
}
.h-20 {
height: 5rem;
}
.h-5 {
height: 1.25rem;
}
@@ -658,26 +662,6 @@ video {
height: 100%;
}
.h-32 {
height: 8rem;
}
.h-20 {
height: 5rem;
}
.h-14 {
height: 3.5rem;
}
.h-28 {
height: 7rem;
}
.h-24 {
height: 6rem;
}
.min-h-screen {
min-height: 100vh;
}
@@ -714,6 +698,10 @@ video {
max-width: 36rem;
}
.max-w-screen-2xl {
max-width: 1536px;
}
.flex-1 {
flex: 1 1 0%;
}
@@ -793,10 +781,6 @@ video {
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
.rounded {
border-radius: 0.25rem;
}
.rounded-md {
border-radius: 0.375rem;
}
@@ -805,38 +789,16 @@ video {
border-width: 0px;
}
.border {
border-width: 1px;
}
.border-l-2 {
border-left-width: 2px;
}
.border-r-2 {
border-right-width: 2px;
}
.bg-black {
--tw-bg-opacity: 1;
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}
.bg-gray-800 {
--tw-bg-opacity: 1;
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}
.bg-gray-900 {
--tw-bg-opacity: 1;
background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}
.bg-slate-900 {
--tw-bg-opacity: 1;
background-color: rgb(15 23 42 / var(--tw-bg-opacity));
}
.fill-gray-600 {
fill: #4b5563;
}
@@ -1055,16 +1017,6 @@ video {
color: rgb(255 255 255 / var(--tw-text-opacity));
}
.text-slate-300 {
--tw-text-opacity: 1;
color: rgb(203 213 225 / var(--tw-text-opacity));
}
.text-slate-400 {
--tw-text-opacity: 1;
color: rgb(148 163 184 / var(--tw-text-opacity));
}
.underline {
text-decoration-line: underline;
}
@@ -1172,16 +1124,6 @@ body::-webkit-scrollbar-thumb {
background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}
.hover\:bg-slate-700:hover {
--tw-bg-opacity: 1;
background-color: rgb(51 65 85 / var(--tw-bg-opacity));
}
.hover\:bg-slate-800:hover {
--tw-bg-opacity: 1;
background-color: rgb(30 41 59 / var(--tw-bg-opacity));
}
.hover\:text-slate-500:hover {
--tw-text-opacity: 1;
color: rgb(100 116 139 / var(--tw-text-opacity));
@@ -1237,14 +1179,6 @@ body::-webkit-scrollbar-thumb {
grid-column: span 2 / span 2;
}
.sm\:ml-6 {
margin-left: 1.5rem;
}
.sm\:block {
display: block;
}
.sm\:flex {
display: flex;
}
@@ -1268,11 +1202,6 @@ body::-webkit-scrollbar-thumb {
.sm\:justify-start {
justify-content: flex-start;
}
.sm\:px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
}
@media (min-width: 768px) {
@@ -1304,11 +1233,6 @@ body::-webkit-scrollbar-thumb {
padding-left: 3rem;
padding-right: 3rem;
}
.md\:py-12 {
padding-top: 3rem;
padding-bottom: 3rem;
}
}
@media (min-width: 1024px) {
@@ -1316,11 +1240,6 @@ body::-webkit-scrollbar-thumb {
padding-left: 6rem;
padding-right: 6rem;
}
.lg\:px-8 {
padding-left: 2rem;
padding-right: 2rem;
}
}
@media (min-width: 1280px) {