Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ Removed extra space between rule content and Giscus #1669

Merged
merged 9 commits into from
Jan 24, 2025
12 changes: 1 addition & 11 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1141,9 +1141,7 @@ div.bad-example {
box-shadow: 0 5px 40px rgba(0, 0, 0, 0.25);
}

#more {
/* overflow: auto; */
text-align: center;
.break-line {
border-top: 1px solid #f5f5f5;
}

Expand All @@ -1152,14 +1150,6 @@ div.bad-example {
margin-bottom: 0.5rem!important;
}

#more .acknowledgements .avatar img {
max-width: 75px;
}

#more .acknowledgements .avatar a, #more .acknowledgements .avatar a:hover {
border-bottom: none;
}

.info-btn-container {
margin-top: 1.65rem;
text-decoration: none !important;
Expand Down
6 changes: 2 additions & 4 deletions src/templates/rule.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,6 @@ const Rule = ({ data, location }) => {
)}
<hr />
<div dangerouslySetInnerHTML={{ __html: rule.html }} />
<section
id="more"
className="mt-12 flex flex-wrap pt-6 pb-6 lg:pb-12 text-center -mb-6"
></section>
</section>

<div className="lg:hidden md:w-1/1 px-4">
Expand All @@ -168,6 +164,8 @@ const Rule = ({ data, location }) => {
/>
</div>

<section className="ml-2 mr-2 break-line"></section>

<Discussion ruleGuid={rule.frontmatter.guid} />
</div>
</div>
Expand Down
Loading