Commit a93d058d authored by caoxu's avatar caoxu

Refactor: 优化城市介绍布局

parent 5e034173
Pipeline #518 failed with stages
......@@ -426,11 +426,13 @@ const showMoreInfo = () => {
padding: 20px;
margin-bottom: 20px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
position: relative;
}
.city-description {
margin-bottom: 16px;
display: flex;
justify-content: space-between;
align-items: flex-end;
margin-bottom: 0;
}
.city-description p {
......@@ -442,6 +444,7 @@ const showMoreInfo = () => {
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
flex: 1;
}
.more-btn {
......@@ -453,9 +456,6 @@ const showMoreInfo = () => {
cursor: pointer;
padding: 8px 0;
transition: all 0.3s ease;
position: absolute;
right: 20px;
bottom: 20px;
}
.more-btn:hover {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment