From 78f492861109752bb1ff6f9000f76dff37cac5d2 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 15 Feb 2026 14:53:01 +0200 Subject: [PATCH] feat(mobile): reduce margins for empty tab --- .../client/src/widgets/type_widgets/Empty.css | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/apps/client/src/widgets/type_widgets/Empty.css b/apps/client/src/widgets/type_widgets/Empty.css index 9f04afbcf4..40f9f02020 100644 --- a/apps/client/src/widgets/type_widgets/Empty.css +++ b/apps/client/src/widgets/type_widgets/Empty.css @@ -1,18 +1,20 @@ -.note-detail-empty { - container-type: size; - padding-top: 50px; - min-width: 350px; -} +body.desktop { + .note-detail-empty { + container-type: size; + padding-top: 50px; + min-width: 350px; + } -.note-detail-empty > * { - margin-inline: auto; - max-width: 850px; - padding-inline: 50px; -} - -@container (max-width: 600px) { .note-detail-empty > * { - padding-inline: 20px; + margin-inline: auto; + max-width: 850px; + padding-inline: 50px; + } + + @container (max-width: 600px) { + .note-detail-empty > * { + padding-inline: 20px; + } } } @@ -59,4 +61,4 @@ .workspace-icon { text-align: center; font-size: 500%; -} \ No newline at end of file +}