Files
ragflow/web/src/components/card-singleline-container/index.less
chanx 5312b75362 Fix: Home and team page style adjustment, and some bug fixes #10703 (#10805)
### What problem does this PR solve?

Fix: Home and team page style adjustment, and some bug fixes #10703

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-10-27 15:15:12 +08:00

47 lines
987 B
Plaintext

.single :nth-child(n + 2):not(:last-child) {
display: none;
}
.single :nth-child(-n + 1):not(:last-child) {
display: flex;
}
@media (min-width: 640px) {
.single :nth-child(n + 2):not(:last-child) {
display: none;
}
.single :nth-child(-n + 1):not(:last-child) {
display: flex;
}
}
@media (min-width: 768px) {
.single :nth-child(n + 3):not(:last-child) {
display: none;
}
.single :nth-child(-n + 2):not(:last-child) {
display: flex;
}
}
@media (min-width: 1024px) {
.single :nth-child(n + 4):not(:last-child) {
display: none;
}
.single :nth-child(-n + 3):not(:last-child) {
display: flex;
}
}
@media (min-width: 1280px) {
.single :nth-child(n + 5):not(:last-child) {
display: none;
}
.single :nth-child(-n + 4):not(:last-child) {
display: flex;
}
}
@media (min-width: 1536px) {
.single :nth-child(n + 6):not(:last-child) {
display: none;
}
.single :nth-child(-n + 5):not(:last-child) {
display: flex;
}
}