Skip to content

Build your personal knowledge base with Trilium Notes

client/icon pack/preview: tweak appearance

Adorian Doran5c13d3978e4e
diff --git a/apps/client/src/widgets/type_widgets/icon_pack/icon_pack_preview.css b/apps/client/src/widgets/type_widgets/icon_pack/icon_pack_preview.css
index 519bd377de..e5411cec01 100644
--- a/apps/client/src/widgets/type_widgets/icon_pack/icon_pack_preview.css
+++ b/apps/client/src/widgets/type_widgets/icon_pack/icon_pack_preview.css
@@ -72,12 +72,18 @@ body.interactive .ip-cell:hover {
.ip-count {
display: inline-block;
- position: fixed;
- right: 16px;
- bottom: 8px;
+ position: absolute;
+ right: 0;
+ bottom: 0;
padding: 4px 8px;
border-radius: 6px;
font-family: sans-serif;
background: var(--accented-background-color, gray);
font-size: .85rem;
+}
+
+body.interactive .ip-count {
+ position: fixed;
+ right: 16px;
+ bottom: 8px;
}
\ No newline at end of file