diff --git a/changedetectionio/static/styles/scss/parts/_preview_text_filter.scss b/changedetectionio/static/styles/scss/parts/_preview_text_filter.scss index c12401fe..1e18c586 100644 --- a/changedetectionio/static/styles/scss/parts/_preview_text_filter.scss +++ b/changedetectionio/static/styles/scss/parts/_preview_text_filter.scss @@ -35,5 +35,11 @@ body.preview-text-enabled { white-space: pre-wrap; /* Preserves whitespace and line breaks like
*/ overflow-wrap: break-word; /* Allows long words to break and wrap to the next line */ } +} -} \ No newline at end of file +#activate-text-preview { + right: 0; + position: absolute; + z-index: 0; + box-shadow: 1px 1px 4px var(--color-shadow-jump); +} diff --git a/changedetectionio/static/styles/styles.css b/changedetectionio/static/styles/styles.css index b2c02f82..56e74153 100644 --- a/changedetectionio/static/styles/styles.css +++ b/changedetectionio/static/styles/styles.css @@ -446,6 +446,12 @@ body.preview-text-enabled { overflow-wrap: break-word; /* Allows long words to break and wrap to the next line */ } +#activate-text-preview { + right: 0; + position: absolute; + z-index: 0; + box-shadow: 1px 1px 4px var(--color-shadow-jump); } + body { color: var(--color-text); background: var(--color-background-page); diff --git a/changedetectionio/templates/edit.html b/changedetectionio/templates/edit.html index a77d25df..e5f5e642 100644 --- a/changedetectionio/templates/edit.html +++ b/changedetectionio/templates/edit.html @@ -254,9 +254,9 @@ User-Agent: wonderbra 1.0") }} {% if watch['processor'] == 'text_json_diff' %}- Activate preview + Activate preview-+-Pro-tips:
@@ -410,7 +410,7 @@ Unavailable") }}