Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-12-03 16:28:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
30bea195c9ed16bf25dea4a93ad775a02478ec24
30bea195
1 parent
38818d13
fix 新闻列表项,more高度保持一致
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
src/views/news/index.vue
src/views/news/index.vue
View file @
30bea19
<!--
* @Date: 2024-10-18 12:05:44
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-1
1-11 11:25:17
* @LastEditTime: 2024-1
2-03 16:26:23
* @FilePath: /hager/src/views/news/index.vue
* @Description: 文件描述
-->
...
...
@@ -140,6 +140,8 @@ export default {
overflow: hidden;
background-color: #fff;
transition: transform 0.25s ease-in-out;
position: relative;
&:hover {
transform: scale(1.01);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
...
...
@@ -183,6 +185,7 @@ export default {
line-height: 1.5em;
overflow: hidden;
word-break: break-word;
margin-bottom: 3rem;
&.xs {
margin: 0.85rem 0 0 0;
}
...
...
@@ -196,7 +199,9 @@ export default {
text-align: center;
font-size: 0.8rem;
transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
margin-top: 3rem;
// margin-top: 3rem;
position: absolute;
bottom: 1rem;
&:hover {
color: #FFF;
background-color: #F56400;
...
...
Please
register
or
login
to post a comment