From 3713d0f0548d6e666093a4096a349f94436d5613 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rene=20Hamp=C3=B6lz?= Date: Mon, 22 May 2023 21:47:21 +0000 Subject: [PATCH] fix: Consider hidden toolbar buttons --- .../snappymail/app/themes/Nextcloud25/styles.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/integrations/nextcloud/snappymail/app/themes/Nextcloud25/styles.css b/integrations/nextcloud/snappymail/app/themes/Nextcloud25/styles.css index ff8af0b43..dcec9f235 100644 --- a/integrations/nextcloud/snappymail/app/themes/Nextcloud25/styles.css +++ b/integrations/nextcloud/snappymail/app/themes/Nextcloud25/styles.css @@ -537,22 +537,18 @@ html.rl-left-panel-disabled #rl-app .b-footer.btn-toolbar .btn-group .btn.icon-f margin: 0 .5px; } -#rl-app .btn-toolbar .btn-group .btn:first-of-type { +#rl-app .btn-toolbar .btn-group .btn:first-of-type, +#rl-app .btn-toolbar .btn-group .btn:nth-child(1 of :not([style*="display: none;"])) { border-top-left-radius: var(--border-radius-large); border-bottom-left-radius: var(--border-radius-large); } -#rl-app .btn-toolbar .btn-group .btn:last-of-type { +#rl-app .btn-toolbar .btn-group .btn:last-of-type, +#rl-app .btn-toolbar .btn-group .btn:nth-last-child(1 of :not([style*="display: none;"])) { border-top-right-radius: var(--border-radius-large); border-bottom-right-radius: var(--border-radius-large); } -/* -#rl-app #V-MailMessageList .btn-toolbar .btn-group .btn:not(:last-of-type) { - margin: 0 3px 0 0; -} -*/ - /* * inputs */