Skip to content

Commit 903466d

Browse files
Merge PR #881 - fix icon centering on book actions and library buttons
2 parents 1671a9e + b52b0ac commit 903466d

1 file changed

Lines changed: 28 additions & 1 deletion

File tree

‎frontend/css/style.css‎

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5550,7 +5550,6 @@ body {
55505550
}
55515551

55525552
*:hover {
5553-
cursor: pointer !important;
55545553
cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24'><path fill='%23ffca3a' d='M4.42 20.58a1 1 0 0 0 1.41 0L15.24 11.2l-2.44-2.44L3.42 18.17a1 1 0 0 0 0 1.41zM17.36 9.08l-2.44-2.44 2.12-2.12a2 2 0 0 1 2.83 0l1.77 1.77a2 2 0 0 1 0 2.83z'/><path stroke='%23ffca3a' stroke-width='1.5' d='M2 22l4-1'/></svg>") 0 24, pointer !important;
55555554
}
55565555

@@ -6476,3 +6475,31 @@ body.night-mode .tooltip-author {
64766475
line-height: 1.6;
64776476
color: var(--text-muted);
64786477
}
6478+
6479+
/* PR 881 - Centering Fixes for Library Icons */
6480+
.book__face--back .book-actions .btn-icon i,
6481+
.library-actions-group button i {
6482+
font-size: 16px !important;
6483+
width: 16px;
6484+
height: 16px;
6485+
display: inline-flex;
6486+
align-items: center;
6487+
justify-content: center;
6488+
}
6489+
6490+
.book__face--back .book-actions .btn-icon {
6491+
width: 32px;
6492+
height: 32px;
6493+
padding: 0;
6494+
display: inline-flex;
6495+
align-items: center;
6496+
justify-content: center;
6497+
}
6498+
6499+
.library-actions-group button {
6500+
padding: 0.5rem 1rem;
6501+
display: inline-flex;
6502+
align-items: center;
6503+
justify-content: center;
6504+
gap: 0.5rem;
6505+
}

0 commit comments

Comments
 (0)