From bb1ac2dd7026f225260851d0d4d56354fcd6772a Mon Sep 17 00:00:00 2001 From: jaredb7 Date: Fri, 7 Apr 2023 08:59:58 +1000 Subject: [PATCH] Fix alignment of new RTSP stream URL input field Remove style that was indenting the input field, this isn't needed anymore since we aren't trying to align with the label --- scripts/advanced.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/advanced.php b/scripts/advanced.php index fddf99f..a0ddf28 100644 --- a/scripts/advanced.php +++ b/scripts/advanced.php @@ -298,7 +298,7 @@ if (file_exists('./scripts/thisrun.txt')) { //Fix up the new element so it's visible, set the style so it's sligned correctly new_url_input_template.setAttribute("id", "rtsp_stream_url_new_" + number_of_new_rtsp_urls_added); new_url_input_template.setAttribute("name", "rtsp_stream_new_" + number_of_new_rtsp_urls_added); - new_url_input_template.setAttribute("style", "margin-left: 107px"); + new_url_input_template.removeAttribute("style"); //Insert the new input field before the button to add new urls var newrtspstream_button = document.getElementById('newrtspstream_button_container');