Skip to content

Commit 6ee3844

Browse files
committed
add hover border
1 parent 376f7e3 commit 6ee3844

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/components/repository/ModuleItem.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ const getLastUpdated = () => {
101101
transition: border-color 0.25s, background-color 0.25s;
102102
}
103103
104+
.feature:hover {
105+
border-color: var(--vp-badge-tip-text);
106+
}
107+
104108
.box {
105109
display: flex;
106110
flex-direction: column;
@@ -140,6 +144,7 @@ const getLastUpdated = () => {
140144
width: 100%;
141145
height: 100%;
142146
aspect-ratio: 2.048;
147+
object-fit: cover;
143148
}
144149
145150
.moduleMeta {

0 commit comments

Comments
 (0)