diff options
author | NateN1222 <nathannichols454@gmail.com> | 2017-08-31 14:55:34 -0500 |
---|---|---|
committer | NateN1222 <nathannichols454@gmail.com> | 2017-08-31 14:55:34 -0500 |
commit | e615086e3322f9a7eee63cddcf4dc1329d55c55a (patch) | |
tree | 99db2e87f6df5dd4d1a017ec78c48f1e9d101db6 /html/display_panel/content/main_panel.js | |
parent | 9a155689f1e16d305616b81996fcfaf4487c31a7 (diff) |
fixed CSS bug (button clipping for script entries)
Diffstat (limited to 'html/display_panel/content/main_panel.js')
-rw-r--r-- | html/display_panel/content/main_panel.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/display_panel/content/main_panel.js b/html/display_panel/content/main_panel.js index fbdd047..9752e10 100644 --- a/html/display_panel/content/main_panel.js +++ b/html/display_panel/content/main_panel.js @@ -58,9 +58,9 @@ function new_debug_button(name_text,callback){ */ function write_elements(data,name,color){ var url = data["url"]; - var button_html = '<div style="float:right"><input id="temp" type="button" value="blacklist"></input></div>'; - var button_html_2 = '<div style="float:right"><input id="temp2" type="button" value="whitelist"></input></div>'; - var button_html_3 = '<div style="float:right"><input id="temp3" type="button" value="forget preference"></input></div>'; + var button_html = '<div style="float:right; position: relative;"><input id="temp" type="button" value="blacklist"></input></div><br>'; + var button_html_2 = '<div style="float:right; position: relative;"><input id="temp2" type="button" value="whitelist"></input></div><br>'; + var button_html_3 = '<div style="float:right; position: relative;"><input id="temp3" type="button" value="forget preference"></input></div><br>'; var heading = document.getElementById(name).getElementsByTagName("h2")[0]; var list = document.getElementById(name).getElementsByTagName("ul")[0]; if(typeof(data[name]) == "undefined" || data[name].length == 0){ |