From b97efa3e180ba74f17432c62e3898da632e3bccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nil=C3=A9ane?= Date: Sun, 30 Jul 2023 17:45:43 +0200 Subject: [PATCH] Fixed post margin conflict in Notifications --- TangerineUI-purple.css | 4 ++-- TangerineUI.css | 4 ++-- .../styles/tangerineui-purple/layout-single-column.scss | 4 ++-- .../javascript/styles/tangerineui/layout-single-column.scss | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/TangerineUI-purple.css b/TangerineUI-purple.css index 53786f3..47f1f32 100644 --- a/TangerineUI-purple.css +++ b/TangerineUI-purple.css @@ -815,8 +815,8 @@ body.layout-single-column { } } @media screen and (min-width:890px) and (max-width:1174px) { - .layout-single-column .scrollable > div:first-child > div:first-child > .status__wrapper, - .layout-single-column .scrollable > div > article:first-child > div > .status__wrapper { + .layout-single-column .scrollable:first-child > div:first-child > div:first-child > .status__wrapper, + .layout-single-column .scrollable:first-child > div > article:first-child > div > .status__wrapper { margin-top: 15px; } } diff --git a/TangerineUI.css b/TangerineUI.css index 33d81d7..e093448 100644 --- a/TangerineUI.css +++ b/TangerineUI.css @@ -815,8 +815,8 @@ body.layout-single-column { } } @media screen and (min-width:890px) and (max-width:1174px) { - .layout-single-column .scrollable > div:first-child > div:first-child > .status__wrapper, - .layout-single-column .scrollable > div > article:first-child > div > .status__wrapper { + .layout-single-column .scrollable:first-child > div:first-child > div:first-child > .status__wrapper, + .layout-single-column .scrollable:first-child > div > article:first-child > div > .status__wrapper { margin-top: 15px; } } diff --git a/mastodon/app/javascript/styles/tangerineui-purple/layout-single-column.scss b/mastodon/app/javascript/styles/tangerineui-purple/layout-single-column.scss index 53786f3..47f1f32 100644 --- a/mastodon/app/javascript/styles/tangerineui-purple/layout-single-column.scss +++ b/mastodon/app/javascript/styles/tangerineui-purple/layout-single-column.scss @@ -815,8 +815,8 @@ body.layout-single-column { } } @media screen and (min-width:890px) and (max-width:1174px) { - .layout-single-column .scrollable > div:first-child > div:first-child > .status__wrapper, - .layout-single-column .scrollable > div > article:first-child > div > .status__wrapper { + .layout-single-column .scrollable:first-child > div:first-child > div:first-child > .status__wrapper, + .layout-single-column .scrollable:first-child > div > article:first-child > div > .status__wrapper { margin-top: 15px; } } diff --git a/mastodon/app/javascript/styles/tangerineui/layout-single-column.scss b/mastodon/app/javascript/styles/tangerineui/layout-single-column.scss index 33d81d7..e093448 100644 --- a/mastodon/app/javascript/styles/tangerineui/layout-single-column.scss +++ b/mastodon/app/javascript/styles/tangerineui/layout-single-column.scss @@ -815,8 +815,8 @@ body.layout-single-column { } } @media screen and (min-width:890px) and (max-width:1174px) { - .layout-single-column .scrollable > div:first-child > div:first-child > .status__wrapper, - .layout-single-column .scrollable > div > article:first-child > div > .status__wrapper { + .layout-single-column .scrollable:first-child > div:first-child > div:first-child > .status__wrapper, + .layout-single-column .scrollable:first-child > div > article:first-child > div > .status__wrapper { margin-top: 15px; } }