Skip to content

Commit db7b142

Browse files
committed
perf: snapshot info style
1 parent 043734a commit db7b142

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/views/snapshot/ScreenshotCard.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,17 +152,17 @@ const imgMove = (ev: MouseEvent) => {
152152
absolute
153153
z-4
154154
pointer-events-none
155-
left-0
156-
top-0
155+
left-4px
156+
top-4px
157157
text-12px
158158
leading="100%"
159159
flex
160160
gap-4px
161161
>
162-
<div p-1px bg="#ffffff70">
162+
<div py-1px px-2px bg="#ffffff90" title="尺寸">
163163
{{ `${snapshot.screenWidth}x${snapshot.screenHeight}` }}
164164
</div>
165-
<div p-1px bg="#ffffff70">
165+
<div py-1px px-2px bg="#ffffff90" title="创建时间">
166166
{{ dayjs(snapshot.id).format('YYYY-MM-DD HH:mm:ss') }}
167167
</div>
168168
</div>

0 commit comments

Comments
 (0)