Skip to content

Commit 7cd4225

Browse files
committed
fix: resolve inconsistencies in view at 768px screen width
1 parent 1bbfd77 commit 7cd4225

1 file changed

Lines changed: 14 additions & 8 deletions

File tree

src/Ombi/ClientApp/src/app/components/detailed-card/detailed-card.component.scss

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@use "./styles/variables.scss" as *;
22

33
.detailed-container {
4-
width: 400px;
5-
height: 250px;
4+
width: 200px;
5+
height: auto;
66
margin: 10px;
77
padding: 10px;
88
border-radius: 10px;
@@ -12,9 +12,9 @@
1212
background-repeat: no-repeat;
1313
background-position: center center;
1414

15-
@media (max-width:768px) {
16-
width: 200px;
17-
height: auto;
15+
@media (min-width: 768px) {
16+
width: 400px;
17+
height: 250px;
1818
}
1919

2020
.overview {
@@ -26,8 +26,10 @@
2626
}
2727

2828
.year {
29-
@media (max-width:768px) {
30-
padding-top: 3%;
29+
padding-top: 3%;
30+
31+
@media (min-width: 768px) {
32+
padding-top: 0;
3133
}
3234
}
3335

@@ -36,11 +38,15 @@
3638
border-radius: 10px;
3739
opacity: 1;
3840
display: block;
39-
height: 225px;
41+
height: auto;
4042
width: 100%;
4143
transition: .5s ease;
4244
backface-visibility: hidden;
4345
border: 1px solid #35465c;
46+
47+
@media (min-width: 768px) {
48+
height: 225px;
49+
}
4450
}
4551

4652
.action-items {

0 commit comments

Comments
 (0)