Skip to content

Commit

Permalink
Placed each FAQ divs in order
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevin-Thomas committed Jul 18, 2024
1 parent 5074460 commit 14830fa
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 8 deletions.
21 changes: 16 additions & 5 deletions gnd-app/src/app/faq-page/faq-page.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,25 @@
border-radius: 50%;
}

.grid-container-element {
display: grid;
.grid-parent {
/* display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
width: 50%;
width: 50%; */
display: flex;
justify-content: space-around;
}
.grid-child-element {

.grid-gnd {
margin: 10px;
border: 1px solid black;
width: 40%;
padding: 20px;
}

.grid-gdpr {
margin: 10px;
border: 1px solid black;
/* border: 1px solid red; */
width: 40%;
padding: 20px;
}
7 changes: 4 additions & 3 deletions gnd-app/src/app/faq-page/faq-page.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</header>
</div>

<div class="grid-container-element">
<div class="grid-child-element gnd">
<div class="grid-parent">
<div class="grid-gnd">
<!-- How to use GND FAQs -->
<h1>GND FAQ</h1>
<p>
Expand All @@ -24,7 +24,7 @@ <h1>GND FAQ</h1>
</p>
</div>

<div class="grid-child-element gdpr">
<div class="grid-gdpr">
<!-- GDPR Violation FAQs -->
<h1>GDPR FAQ</h1>

Expand Down Expand Up @@ -107,3 +107,4 @@ <h3>What are some best practices for GDPR compliance?</h3>
</p>
</div>
</div>

0 comments on commit 14830fa

Please sign in to comment.