|
@@ -470,14 +470,15 @@ const recordData = useSimpleDataLoader<GetContentListItem[]>(async () => {
|
|
|
|
|
|
.main-time-line {
|
|
|
|
|
|
- $height: 300px;
|
|
|
+ $height: 500px;
|
|
|
|
|
|
+ position: relative;
|
|
|
height: $height;
|
|
|
|
|
|
&::before {
|
|
|
content: '';
|
|
|
position: absolute;
|
|
|
- top: 50%;
|
|
|
+ top: calc(50% + 30px);
|
|
|
left: 0;
|
|
|
width: 100%;
|
|
|
height: 1px;
|
|
@@ -499,7 +500,7 @@ const recordData = useSimpleDataLoader<GetContentListItem[]>(async () => {
|
|
|
display: flex;
|
|
|
flex-direction: column-reverse;
|
|
|
align-items: center;
|
|
|
- min-width: 300px;
|
|
|
+ width: 25%;
|
|
|
height: $height;
|
|
|
flex-shrink: 0;
|
|
|
|
|
@@ -551,6 +552,12 @@ const recordData = useSimpleDataLoader<GetContentListItem[]>(async () => {
|
|
|
font-size: 1.1rem;
|
|
|
color: $text-content-color;
|
|
|
margin-bottom: 8px;
|
|
|
+ display: -webkit-box;
|
|
|
+ line-clamp: 2;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
}
|
|
|
.content {
|
|
|
font-size: 0.8rem;
|
|
@@ -566,6 +573,11 @@ const recordData = useSimpleDataLoader<GetContentListItem[]>(async () => {
|
|
|
flex-basis: calc(50% - 10px);
|
|
|
}
|
|
|
}
|
|
|
+ .main-time-line {
|
|
|
+ .item {
|
|
|
+ width: 50%;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
@media (max-width: 425px) {
|
|
|
.main-grid9 {
|
|
@@ -575,7 +587,7 @@ const recordData = useSimpleDataLoader<GetContentListItem[]>(async () => {
|
|
|
}
|
|
|
.main-time-line {
|
|
|
.item {
|
|
|
- min-width: 200px;
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
}
|
|
|
.main-card-box {
|