Skip to content

Let's use AI to Earn!

overflow

bulaienaofutuojiesenzhang567d11734833
diff --git a/src/app/[lng]/accounts/components/CalendarTiming/ListMode/listMode.module.scss b/src/app/[lng]/accounts/components/CalendarTiming/ListMode/listMode.module.scss
index f55c3fdc..6acaa6ce 100644
--- a/src/app/[lng]/accounts/components/CalendarTiming/ListMode/listMode.module.scss
+++ b/src/app/[lng]/accounts/components/CalendarTiming/ListMode/listMode.module.scss
@@ -42,55 +42,70 @@
flex: 1;
display: flex;
flex-direction: column;
- overflow: hidden;
+ min-height: 0;
:global {
- .ant-tabs-content-holder {
- flex: 1;
- overflow: hidden;
+ .ant-tabs {
+ height: 100%;
display: flex;
flex-direction: column;
}
- .ant-tabs-tabpane {
+ .ant-tabs-content-holder {
flex: 1;
- overflow: visible;
- display: flex;
- flex-direction: column;
+ min-height: 0;
+ }
+
+ .ant-tabs-tabpane {
+ height: 100%;
+ overflow-y: auto;
+ overflow-x: hidden;
}
.ant-tabs-nav {
margin-bottom: 12px;
flex-shrink: 0;
+ background: var(--bgColor);
+ border-radius: 8px;
+ padding: 4px;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.ant-tabs-tab {
font-weight: 500;
padding: 8px 16px;
+ border-radius: 6px;
+ transition: all 0.2s ease;
+ margin: 0 2px;
}
.ant-tabs-tab-active {
font-weight: 600;
+ background: var(--primaryColor);
+ color: white;
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
+ }
+
+ .ant-tabs-tab:hover:not(.ant-tabs-tab-active) {
+ background: var(--grayColor8);
}
}
}
.tabContent {
- flex: 1;
- overflow-y: auto;
- overflow-x: hidden;
- padding-right: 5px;
height: 100%;
+ padding: 0 5px 0 0;
}
.listContent {
- flex: 1;
- overflow-y: auto;
- overflow-x: hidden;
- padding-right: 5px;
+ height: 100%;
+ padding: 0 5px 0 0;
.recordList {
background: transparent;
+ flex: 1;
+ overflow-y: auto;
+ overflow-x: hidden;
:global {
.ant-list-item {
@@ -168,12 +183,13 @@
height: 100%;
display: flex;
flex-direction: column;
- overflow-y: auto;
- overflow-x: hidden;
- padding-right: 5px;
+ padding: 0 5px 0 0;
.sentPostList {
background: transparent;
+ flex: 1;
+ overflow-y: auto;
+ overflow-x: hidden;
:global {
.ant-list-item {
@@ -261,6 +277,7 @@
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
+ line-clamp: 2;
-webkit-box-orient: vertical;
}
}
@@ -344,6 +361,7 @@
display: flex;
justify-content: center;
padding: 20px 0;
+ flex-shrink: 0;
.loadMoreButton {
border-radius: 20px;
@@ -351,5 +369,13 @@
height: auto;
}
}
+
+ .emptyState {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+ min-height: 200px;
+ }
}
}
\ No newline at end of file