openwrt / luci

LuCI - OpenWrt Configuration Interface
Apache License 2.0
6.28k stars 2.51k forks source link

[luci-app-vpn-policy-routing] columns are too wide | wasting space and distorting the layout #2922

Closed ghost closed 5 years ago

ghost commented 5 years ago

as described https://github.com/stangri/openwrt_packages/issues/69

happens with different browser flavours such as FF, Edge and Chrome derivates

ghost commented 5 years ago

For some reason the outer width of the table cells in question compute to 320

Annotation 2019-07-26 211044

dibdot commented 5 years ago

There is no such app in this repo, please clarify your issues with the developer directly. If you're are not satisfied with the measurements of the default templates, you can change nearly every aspect of your app design with a bit of customization of these.

ghost commented 5 years ago

the app developer cited

AFAIK, this is auto-set by Luci, I have no control over this.

ghost commented 5 years ago

I would appreciate this being reopened. Reason is that the ccs width is set to auto and thus not the app developer's fault that that cell is wasting space and since it happens in other LuCI modules as well

Annotation 2019-07-27 105611

jow- commented 5 years ago

Note that you're using an non-default theme. When checking with the default luci-theme-bootstrap, the application looks normal here.

ghost commented 5 years ago

Thanks for the feedback. Indeed, out of 4 themes (bootstrap | rosy | OpenWrt | material) only the material one exhibits the issue,

stangri commented 5 years ago

@dibdot @jow- : if you can educate me how can I explicitly set the widths of columns, ideally without packaging my own copy of view/cbi/tblsection, I'd be much obliged.