Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _pages/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Tutorials for<br />All Levels</h1>
</div>
</div>

<div class="docs cards common-padding--bottom-small padfix">
<div class="docs cards">
<div class="container">
<h2 class="thin">Beginner</h2>

Expand Down
12 changes: 1 addition & 11 deletions _sass/modules/_cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
margin: 3px 15px; // Reduce side margins on mobile to prevent overflow

.card {
max-height: auto !important;
max-height: none !important;
width: 100%; // Ensure card doesn't exceed container
box-sizing: border-box; // Include padding in width calculation

Expand Down Expand Up @@ -325,16 +325,6 @@
}
}

&.padfix {
padding-bottom: 80px;
}

@media (min-width: 768px) {
&.padfix {
padding-bottom: 0;
}
}

@media (min-width: 768px) {
&__container {
grid-template-columns: repeat(2, 1fr);
Expand Down
6 changes: 5 additions & 1 deletion _sass/modules/_docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@
}

.card__fullwidth .card {
max-height: 500px !important;
max-height: none !important;

@media (min-width: 768px) {
max-height: 500px !important;
}
}

// UL/LIs here are for cards, no bullets actually used.
Expand Down