styling
This commit is contained in:
parent
70a6b28cf8
commit
4b8a42f2a1
|
|
@ -1,8 +1,8 @@
|
||||||
.news-wrapper {
|
.news-wrapper {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 32rem 1fr;
|
grid-template-columns: 32rem 1fr;
|
||||||
|
grid-template-rows: 20rem;
|
||||||
gap: 1.6rem;
|
gap: 1.6rem;
|
||||||
height: 18rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-info {
|
.news-info {
|
||||||
|
|
@ -42,10 +42,16 @@
|
||||||
.news-status-left {
|
.news-status-left {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
gap: 1.6rem;
|
||||||
column-gap: 1.6rem;
|
overflow: hidden;
|
||||||
row-gap: 0.8rem;
|
width: 100%;
|
||||||
flex-wrap: wrap;
|
p {
|
||||||
|
white-space: nowrap;
|
||||||
|
|
||||||
|
&:nth-child(n + 5) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-link {
|
.news-link {
|
||||||
|
|
@ -111,8 +117,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.news-image {
|
.news-image {
|
||||||
img {
|
@include wh100;
|
||||||
|
min-height: 18rem;
|
||||||
|
img,
|
||||||
|
span {
|
||||||
@include wh100;
|
@include wh100;
|
||||||
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue