Skip to content

A live bird collage card for your Home Assistant dashboard.

Fix alignment of new RTSP stream URL input field

jaredb7bb1ac2dd7026
diff --git a/scripts/advanced.php b/scripts/advanced.php
index fddf99f9..a0ddf28e 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');