Skip to content

Commit

Permalink
added forgotton fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Niclas Timle authored and Niclas Timle committed Sep 10, 2024
1 parent ccd4923 commit 1939a91
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 3 deletions.
64 changes: 63 additions & 1 deletion src/app/component/cardlayoutcomponent/cardlayout.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,68 @@ button {
}
}

@media screen and (max-width: 375px),
screen and (max-height: 667px) {
.card-group{
width: 100%;
height: 100%;
margin: auto;
}
.card{
height: 150px;
margin: auto;
margin-top: 10px;
}

.card-header > h4{
font-size: 10px;
}
.card-body > h2
{
font-size: 14px;
}
.card-body > p
{
font-size: 8px;
}
.tag{
font-size: 6.5px;
}

}

@media screen and (max-width: 320px),
screen and (max-height: 568px) {
.card-group{
margin: auto;
width: 200px;
height: 100%;
margin: auto;
}
.card{
height: 160px;
width: 100%;
margin: auto;
margin-top: 10px;
}

.card-header > h4{
font-size: 10px;
}
.card-body > h2
{
font-size: 14px;
}
.card-body > p
{
font-size: 8px;
}
.tag{
font-size: 6.5px;
}

}

@media (max-width: 350px) {
.card-header > h4{
font-size: 10px;
Expand All @@ -121,4 +183,4 @@ button {
.tag{
font-size: 6.5px;
}
}
}
4 changes: 4 additions & 0 deletions src/app/component/maincompontent/main.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ h5 {
align-items: center;
}

.section-container{
/*height: 100%;*/
}

.always-on-button {
display: none;
}
Expand Down
4 changes: 2 additions & 2 deletions src/app/component/maincompontent/main.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<div #jumpingArrow class="jumping-arrow"><i class="bi bi-arrow-down"></i></div>
</div>
<div #sectionTwo id="2" class="section-layout">
<carousel-component class="container-fluid"></carousel-component>
<carousel-component class="section-container"></carousel-component>
</div>
<div #sectionThree id="3" class="section-layout">
<cardlayout-component class="container-fluid"></cardlayout-component>
<cardlayout-component class="section-container"></cardlayout-component>
</div>
<div #sectionFour id="4">
<footer-component></footer-component>
Expand Down

0 comments on commit 1939a91

Please sign in to comment.