File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed
luci/luci-app-qmodem/luasrc/view/qmodem Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change 10811081 table . appendChild ( tr ) ;
10821082 tr = this . createTR ( ) ;
10831083 td_l = this . createTD ( ) ;
1084- td_l . appendChild ( this . at_btn ) ;
1085- td_l . appendChild ( this . clear_port_btn ) ;
1086- td_l . appendChild ( this . clear_cmd_btn ) ;
1084+ let span = document . createElement ( 'span' ) ;
1085+ span . classList . add ( "flex_container" ) ;
1086+ td_l . setAttribute ( "colspan" , 2 ) ;
1087+ span . appendChild ( this . at_btn ) ;
1088+ span . appendChild ( this . clear_port_btn ) ;
1089+ span . appendChild ( this . clear_cmd_btn ) ;
1090+ td_l . appendChild ( span ) ;
10871091 tr . appendChild ( td_l ) ;
10881092 table . appendChild ( tr ) ;
10891093 this . fieldset . appendChild ( table ) ;
13481352 align-items : center;
13491353 min-width : 15% ;
13501354 }
1355+
1356+ .flex_container {
1357+ display : flex;
1358+ flex-wrap : wrap;
1359+ justify-content : space-around;
1360+ }
13511361</ style >
13521362< div class ="cbi-map ">
13531363 < fieldset class ="cbi-section ">
You can’t perform that action at this time.
0 commit comments