mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-05 01:55:05 +08:00
### 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)
This commit is contained in:
46
web/src/components/card-singleline-container/index.less
Normal file
46
web/src/components/card-singleline-container/index.less
Normal file
@ -0,0 +1,46 @@
|
||||
.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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user