From cda8fc71465fcccd71900adf87ac37ec6d7c47a5 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 30 Jul 2025 23:05:46 +0300 Subject: [PATCH] style(next): improve border for pdf notes preview --- apps/client/src/stylesheets/theme-next/base.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css index b18e95a07..c992f7ecb 100644 --- a/apps/client/src/stylesheets/theme-next/base.css +++ b/apps/client/src/stylesheets/theme-next/base.css @@ -454,10 +454,15 @@ body.mobile .dropdown-menu .dropdown-item.submenu-open .dropdown-toggle::after { font-size: 0.8rem; } -.note-list-wrapper .note-book-card .note-book-content:not(.type-image) .rendered-content { +.note-list-wrapper .note-book-card .note-book-content .rendered-content { padding: 1rem; } +.note-list-wrapper .note-book-card .note-book-content.type-image .rendered-content, +.note-list-wrapper .note-book-card .note-book-content.type-pdf .rendered-content { + padding: 0; +} + .note-list-wrapper .note-book-card .note-book-content .rendered-content.text-with-ellipsis { padding: 1rem !important; }