luci2: make sort / remove column in L.cbi.TableSection as narrow as possible
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 13 Apr 2014 20:55:22 +0000 (22:55 +0200)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 13 Apr 2014 20:55:22 +0000 (22:55 +0200)
luci2/htdocs/luci2/luci2.js

index 2b13604..7ade584 100644 (file)
@@ -7053,6 +7053,7 @@ function LuCI2()
                        if (this.options.addremove !== false || this.options.sortable)
                        {
                                row.append($('<td />')
                        if (this.options.addremove !== false || this.options.sortable)
                        {
                                row.append($('<td />')
+                                       .css('width', '1%')
                                        .addClass('text-right')
                                        .append($('<div />')
                                                .addClass('btn-group')
                                        .addClass('text-right')
                                        .append($('<div />')
                                                .addClass('btn-group')