aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/tools/web_config
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-04-01 01:31:38 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-04-01 01:31:38 -0700
commit37defa739b29452fa8e8ea61c5e3d3f1e1dd0289 (patch)
tree643fc7f1bab6f158751c67c77e1d59e3227e4b21 /share/tools/web_config
parent51ed3fbc4ba0e4500d05df2ba5b49431db68d44e (diff)
Fix for an extra line at the end of the variable listing
Once again, fix the issue where some color cells aren't clickable
Diffstat (limited to 'share/tools/web_config')
-rw-r--r--share/tools/web_config/index.html9
-rwxr-xr-xshare/tools/web_config/webconfig.py4
2 files changed, 7 insertions, 6 deletions
diff --git a/share/tools/web_config/index.html b/share/tools/web_config/index.html
index ca7eaaeb..08ba437e 100644
--- a/share/tools/web_config/index.html
+++ b/share/tools/web_config/index.html
@@ -199,9 +199,10 @@ body {
}
.colorpicker_target {
- margin: 0px;
- height: 50px;
- margin-bottom: -50px;
+ margin: 0 0 -50px 0;
+ position: relative;
+ bottom: 47px;
+ float: left; /* for some reason this makes the cells that it overlaps (before adjusting its bottom) clickable in Safari */
}
.colorpicker_target_tab {
@@ -217,8 +218,6 @@ body {
margin-right: -2px;
min-width: 110px;
text-align: center;
- position: relative;
- bottom: 47px;
}
.colorpicker_target_selected {
diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py
index b73a19ce..20e5514f 100755
--- a/share/tools/web_config/webconfig.py
+++ b/share/tools/web_config/webconfig.py
@@ -160,7 +160,9 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
# Use \x1e ("record separator") to distinguish between history items. The first
# backslash is so Python passes one backslash to fish
out, err = run_fish_cmd('for val in $history; echo -n $val \\x1e; end')
- return out.split('\x1e')
+ result = out.split('\x1e')
+ if result: result.pop()
+ return result
def do_get_color_for_variable(self, name):