Skip to content

Commit

Permalink
Update tailwind config to center the containers
Browse files Browse the repository at this point in the history
  • Loading branch information
gagan0123 committed Oct 15, 2024
1 parent b88159f commit d767a91
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions public/assets/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,8 @@ video {

.container {
width: 100%;
margin-right: auto;
margin-left: auto;
}

@media (min-width: 640px) {
Expand Down Expand Up @@ -699,6 +701,10 @@ video {
margin-bottom: 0.25rem;
}

.mb-16 {
margin-bottom: 4rem;
}

.mb-2 {
margin-bottom: 0.5rem;
}
Expand All @@ -719,6 +725,14 @@ video {
margin-left: 1rem;
}

.mt-1 {
margin-top: 0.25rem;
}

.mt-16 {
margin-top: 4rem;
}

.mt-4 {
margin-top: 1rem;
}
Expand Down Expand Up @@ -833,6 +847,10 @@ video {
flex-direction: column;
}

.flex-wrap {
flex-wrap: wrap;
}

.items-center {
align-items: center;
}
Expand Down Expand Up @@ -1019,6 +1037,10 @@ video {
font-weight: 700;
}

.italic {
font-style: italic;
}

.leading-tight {
line-height: 1.25;
}
Expand Down Expand Up @@ -1141,6 +1163,10 @@ video {
max-width: 100%;
}

.md\:grid-cols-1 {
grid-template-columns: repeat(1, minmax(0, 1fr));
}

.md\:grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ module.exports = {
'sans' : ['Open Sans', 'sans-serif'],
},
extend: {},
container: {
center: true,
},
},
plugins: [{
tailwindcss: {},
Expand Down

0 comments on commit d767a91

Please sign in to comment.