Skip to content

Commit e62e3e9

Browse files
authored
Merge pull request #1175 from steam-bell-92/main
Fix(UI/UX): Permanently display ebook card action buttons
2 parents d874fe2 + a307840 commit e62e3e9

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

src/pages/ebooks/index.css

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -508,15 +508,11 @@ html[data-theme="light"] {
508508
.card-actions {
509509
display: flex;
510510
gap: 8px;
511-
opacity: 0;
511+
opacity: 1 !important;
512512
transition: opacity 0.3s ease;
513513
position: relative;
514514
z-index: 10;
515-
pointer-events: auto;
516-
}
517-
518-
.enhanced-ebook-card:hover .card-actions {
519-
opacity: 1;
515+
pointer-events: auto !important;
520516
}
521517

522518
.action-btn.share {
@@ -687,16 +683,10 @@ html[data-theme="light"] {
687683
font-size: 14px;
688684
cursor: pointer;
689685
transition: all 0.3s ease;
690-
opacity: 0;
691686
transform: translateY(10px);
692687
align-self: flex-start;
693688
}
694689

695-
.enhanced-ebook-card:hover .ebook-read-button {
696-
opacity: 1;
697-
transform: translateY(0);
698-
}
699-
700690
.ebook-read-button:hover {
701691
background: linear-gradient(
702692
135deg,

0 commit comments

Comments
 (0)