From 1e8aa6158bc24bcef2412c6567219bb09e4b0999 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Sun, 24 Apr 2022 14:40:53 +0200 Subject: [PATCH] Form styling improvements --- changedetectionio/static/styles/styles.css | 4 ++-- changedetectionio/static/styles/styles.scss | 4 ++-- changedetectionio/templates/edit.html | 2 +- changedetectionio/templates/settings.html | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/changedetectionio/static/styles/styles.css b/changedetectionio/static/styles/styles.css index c5fb4004..2ff07ee1 100644 --- a/changedetectionio/static/styles/styles.css +++ b/changedetectionio/static/styles/styles.css @@ -306,10 +306,10 @@ footer { font-weight: bold; } .pure-form textarea { width: 100%; } - .pure-form ul#fetch_backend { + .pure-form ul.fetch-backend { margin: 0px; list-style: none; } - .pure-form ul#fetch_backend > li > * { + .pure-form ul.fetch-backend li > * { display: inline-block; } @media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) { diff --git a/changedetectionio/static/styles/styles.scss b/changedetectionio/static/styles/styles.scss index 43974c11..79e12909 100644 --- a/changedetectionio/static/styles/styles.scss +++ b/changedetectionio/static/styles/styles.scss @@ -413,10 +413,10 @@ footer { textarea { width: 100%; } - ul#fetch_backend { + ul.fetch-backend { margin: 0px; list-style: none; - > li { + li { > * { display: inline-block; } diff --git a/changedetectionio/templates/edit.html b/changedetectionio/templates/edit.html index f1cdc08f..d06c2208 100644 --- a/changedetectionio/templates/edit.html +++ b/changedetectionio/templates/edit.html @@ -58,7 +58,7 @@
- {{ render_field(form.fetch_backend) }} + {{ render_field(form.fetch_backend, class="fetch-backend") }}

Use the Basic method (default) where your watched site doesn't need Javascript to render.

The Chrome/Javascript method requires a network connection to a running WebDriver+Chrome server, set by the ENV var 'WEBDRIVER_URL'.

diff --git a/changedetectionio/templates/settings.html b/changedetectionio/templates/settings.html index 385f64dc..64cdbc92 100644 --- a/changedetectionio/templates/settings.html +++ b/changedetectionio/templates/settings.html @@ -75,7 +75,7 @@
- {{ render_field(form.application.form.fetch_backend) }} + {{ render_field(form.application.form.fetch_backend, class="fetch-backend") }}

Use the Basic method (default) where your watched sites don't need Javascript to render.

The Chrome/Javascript method requires a network connection to a running WebDriver+Chrome server, set by the ENV var 'WEBDRIVER_URL'.