Skip to content
This repository was archived by the owner on Jan 29, 2025. It is now read-only.

Commit 9231498

Browse files
authored
Merge pull request #399 from sinfo/ines
Fixed width in offer cards css
2 parents 30da14a + 0209e55 commit 9231498

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/app/landing-page/landing-page.component.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
.example-card {
1111
margin: 5%;
12-
display: flex;
12+
/*display: flex;*/
1313
justify-content: center;
1414
/* align horizontal */
1515
align-items: center;
@@ -313,7 +313,6 @@
313313
}
314314

315315
.example-card {
316-
317316
transition: all .1s linear;
318317
box-shadow: 0px 1px 2px 0px rgba(26, 11, 82, 0.4);
319318
}
@@ -328,8 +327,9 @@
328327

329328
.offers {
330329
display: grid;
331-
width: 100%;
330+
/*width: 100%;*/
332331
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
333332
row-gap: 2rem;
334333
column-gap: 1rem;
335-
}
334+
justify-content: center;
335+
}

src/app/landing-page/landing-page.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,8 @@ <h2 class="text-center">Offers</h2>
481481
Take advantage of exclusive offers from our partners!
482482
</p>
483483
<div class="offers">
484-
<mat-card class="example-card cursor-pointer" style="padding: 5%">
485-
<a href="https://www.flytap.com"><img src="https://static.sinfo.org/static/31-sinfo/offers/tap.jpg" /></a>
484+
<mat-card class="example-card cursor-pointer" style="padding: 2%;width: 250px;margin-left: 40%;">
485+
<a href="https://www.flytap.com"><img src="https://static.sinfo.org/static/31-sinfo/offers/tap.jpg"/></a>
486486
<div class="text-alt description">
487487
<small>Official Carrier of SINFO 31</small>
488488
</div>

0 commit comments

Comments
 (0)