From 7eb43a522402a0e3e9078633f8ce78fd3b9b5998 Mon Sep 17 00:00:00 2001 From: buzz-lightsnack-2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Fri, 17 May 2024 23:30:04 +0800 Subject: [PATCH] rewrite CSS query selectors to use updated data --- styles/layouts/preferences.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/styles/layouts/preferences.css b/styles/layouts/preferences.css index 66bbafd..8235bee 100644 --- a/styles/layouts/preferences.css +++ b/styles/layouts/preferences.css @@ -2,21 +2,21 @@ }*/ -article [data-result-content="*"] { +article[data-result-linked="filters"] > h2 { display: none; } -a > [data-result-content="*"] { +a[data-result-linked="filters"] > * { display: none; } @media only screen and (max-width: 992px) { - article [data-result-content="*"] {display: block;} + article[data-result-linked="filters"] > h2 {display: block;} } @media only screen and (min-width: 992px) { - a > [data-result-content="*"] { + a[data-result-linked="filters"] > * { display: block; } } \ No newline at end of file