diff --git a/changedetectionio/static/styles/scss/parts/_preview_text_filter.scss b/changedetectionio/static/styles/scss/parts/_preview_text_filter.scss index 4385d6a0..de2502eb 100644 --- a/changedetectionio/static/styles/scss/parts/_preview_text_filter.scss +++ b/changedetectionio/static/styles/scss/parts/_preview_text_filter.scss @@ -24,6 +24,7 @@ body.preview-text-enabled { #text-preview { position: sticky; + top: 20px; padding-top: 1rem; padding-bottom: 1rem; display: block !important; diff --git a/changedetectionio/static/styles/styles.css b/changedetectionio/static/styles/styles.css index eb972642..16967df3 100644 --- a/changedetectionio/static/styles/styles.css +++ b/changedetectionio/static/styles/styles.css @@ -474,6 +474,7 @@ body.preview-text-enabled { display: none; } body.preview-text-enabled #text-preview { position: sticky; + top: 20px; padding-top: 1rem; padding-bottom: 1rem; display: block !important; }