Skip to content
Closed
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
5 changes: 4 additions & 1 deletion _includes/subscribe.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@
{% endif %}
{% if page.title == 'Subscribe' %}
<style>
.form-container {

.form-container {
padding: 4rem 0rem;
background-color: $brand-color;
text-align: center;
}

@media (min-width: 555px) and (max-width: 603px) {
.subscribe-button {
width: 100%;
Expand All @@ -33,6 +35,7 @@
justify-content: center;
text-align: center;
}
}

</style>
{% endif %}
Expand Down
19 changes: 7 additions & 12 deletions collections/_programs/lfx_2025.html
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,9 @@ <h4 class="project-list">Issue:</h4>
</a>
</div>

<a href="https://slack.meshery.io">
<input type="button" value="Participate" class="participate-btn appear" />
</a>
<div>
<a href="https://slack.meshery.io" class="participate-button disappear">Join Slack</a>
</div>
</div>
</div>

Expand Down Expand Up @@ -384,14 +384,9 @@ <h4>Fall Term: September 8th - Nov 28th</h4>
</div>


</div>
<a href="https://slack.meshery.io">
<input type="button" value="Join Slack" class="participate-button disappear" />
</a>
</div>
<a href="https://slack.meshery.io">
<input type="button" value="Join Slack" class="participate-button disappear" />
</a>
<div class="text subscribe program__subscribe">
<div>
<a href="https://slack.meshery.io" class="participate-button disappear">Join Slack</a>
</div>
<div class="text subscribe program__subscribe" style="margin: 1rem !important; padding: 1rem;">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Using inline styles with !important can make the CSS difficult to maintain. It's better to encapsulate these styles within a CSS class.

Consider creating a new modifier class (e.g., program__subscribe--custom-spacing) and defining the margin and padding in your project's stylesheet. This promotes reusability and keeps your HTML cleaner.

<div class="text subscribe program__subscribe program__subscribe--custom-spacing">

{% include subscribe.html %}
</div>
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading