Skip to content

Commit

Permalink
removed extra space between rule content and giscus
Browse files Browse the repository at this point in the history
  • Loading branch information
babakamyljanovssw committed Jan 15, 2025
1 parent 87fb2e3 commit 85277e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 16 deletions.
15 changes: 3 additions & 12 deletions src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1141,25 +1141,16 @@ div.bad-example {
box-shadow: 0 5px 40px rgba(0, 0, 0, 0.25);
}

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

.acknowledgements h5, .tags h5, .likes h5 {
margin-top: 2rem!important;
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="mt-2 mb-2 break-line"></section>

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

0 comments on commit 85277e7

Please sign in to comment.