*/}
@@ -1874,7 +1880,7 @@ class Home extends React.Component {
borderRadius: "5px",
display: "flex",
flexDirection: "column",
- minWidth: "466px",
+ minWidth: "344px",
}}
>
@@ -1955,12 +1961,14 @@ class Home extends React.Component {
width: "100%",
height: "40%",
display: "flex",
- padding: "0px 20px",
+ // padding: "0px 20px",
margin: "30px 0px",
- justifyContent: "space-between",
+ // justifyContent: "space-between",
alignItems: "center",
minHeight: "388px",
- minWidth: "1704px",
+ overflow:'hidden',
+ // minWidth: "1204px",
+ minWidth: "1136px",
// backgroundColor: "#fff",
}}
>
@@ -1973,8 +1981,9 @@ class Home extends React.Component {
flexDirection: "column",
padding: "0px",
borderRadius: "5px",
+ overflow:'hidden',
flex: 1,
- minWidth: "1168px",
+ // minWidth: "768px",
}}
>
@@ -2125,7 +2134,7 @@ class Home extends React.Component {
borderRadius: "5px",
display: "flex",
flexDirection: "column",
- minWidth: "466px",
+ minWidth: "344px",
}}
>
@@ -2200,7 +2209,8 @@ class Home extends React.Component {
style={{
margin: "0px 0px 10px 0px",
minHeight: "275px",
- minWidth: "1704px",
+ // minWidth: "1204px",
+ minWidth: "1136px",
}}
>
diff --git a/src/routes/dashboard.css b/src/routes/dashboard.css
index 202f069..dff70f9 100644
--- a/src/routes/dashboard.css
+++ b/src/routes/dashboard.css
@@ -34,6 +34,7 @@
padding: 3px 10px;
border-radius: 15px;
border: 1px solid #55c596;
+ white-space: nowrap;
}
:global(.home-userInfo-card) {
height: 50%;
@@ -52,7 +53,8 @@
height: 100%;
justify-content: space-between;
border-radius: 10px;
- width: calc(25% - 10px);
+ min-width: 100px;
+ /* width: calc(25% - 10px); */
}
:global(.home-userInfo-pad) {
display: flex;
@@ -69,6 +71,7 @@
color: #303133;
font-weight: bold;
white-space: nowrap;
+ margin-right: 5px;
}
:global(.home-userInfo-content) {
font-size: 24px;
@@ -143,7 +146,7 @@
width: 100%;
height: calc(35% - 70px);
display: flex;
- padding: 0px 20px;
+ /* padding: 0px 20px; */
justify-content: space-between;
align-items: center;
}
@@ -173,8 +176,11 @@
:global(.home-rank-name) {
color: #303133;
font-size: 13px;
- margin-right: 40px;
+ margin-right: 20px;
+ width: 90px;
white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
}
:global(.home-img) {
object-fit: contain;
@@ -328,10 +334,12 @@
font-size: 15px;
color: #303133;
padding: 5px 0px;
- font-weight: bold;
+ /* font-weight: bold; */
white-space: nowrap;
+ /* width: 250px; */
overflow: hidden;
text-overflow: ellipsis;
+ flex: 1;
}
:global(.home-work-date) {
color: #909399;
@@ -349,7 +357,7 @@
flex-direction: column;
background-color: #fff;
border-radius: 5px;
- min-width: 574px;
+ /* min-width: 374px; */
}
:global(.home-setting) {
display: flex;