Skip to content

Commit b3ce821

Browse files
author
Datanoise
committed
ui: remove hover scale/outline effect from home page cards for better stability
1 parent 767bdea commit b3ce821

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

history.db

0 Bytes
Binary file not shown.

server/templates/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
2727
box-sizing: border-box;
2828
}
29-
/* Fix jumping: use transform scale and outline instead of margin/border size changes */
30-
.card:hover { transform: scale(1.02); outline: 2px solid var(--primary); outline-offset: -2px; }
29+
.card:hover { border-color: var(--primary); }
3130

3231
.live-tag { position: absolute; top: 1.5rem; right: 1.5rem; display: flex; align-items: center; gap: 0.4rem; background: rgba(16, 185, 129, 0.1); padding: 0.3rem 0.6rem; border-radius: 100px; font-size: 0.65rem; font-weight: 800; color: var(--success); border: 1px solid rgba(16, 185, 129, 0.2); text-transform: uppercase; }
3332
.live-dot { width: 5px; height: 5px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }

0 commit comments

Comments
 (0)