UI "new segment" layout fix
This commit is contained in:
@@ -352,7 +352,7 @@ button {
|
|||||||
|
|
||||||
#putil, #segutil, #segutil2 {
|
#putil, #segutil, #segutil2 {
|
||||||
min-height: 42px;
|
min-height: 42px;
|
||||||
margin: 13px auto 0;
|
margin: 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
#segutil .segin {
|
#segutil .segin {
|
||||||
|
|||||||
@@ -2369,7 +2369,7 @@ function makeSeg()
|
|||||||
});
|
});
|
||||||
var cn = `<div class="seg lstI expanded">`+
|
var cn = `<div class="seg lstI expanded">`+
|
||||||
`<div class="segin">`+
|
`<div class="segin">`+
|
||||||
`<input type="text" id="seg${lu}t" autocomplete="off" maxlength=32 value="" placeholder="New segment ${lu}"/>`+
|
`<input class="ptxt show" type="text" id="seg${lu}t" autocomplete="off" maxlength=32 value="" placeholder="New segment ${lu}"/>`+
|
||||||
`<table class="segt">`+
|
`<table class="segt">`+
|
||||||
`<tr>`+
|
`<tr>`+
|
||||||
`<td width="38%">${isM?'Start X':'Start LED'}</td>`+
|
`<td width="38%">${isM?'Start X':'Start LED'}</td>`+
|
||||||
@@ -2395,7 +2395,7 @@ function makeSeg()
|
|||||||
|
|
||||||
function resetUtil(off=false)
|
function resetUtil(off=false)
|
||||||
{
|
{
|
||||||
gId('segutil').innerHTML = `<div class="seg btn btn-s${off?' off':''}" style="padding:0;">`
|
gId('segutil').innerHTML = `<div class="seg btn btn-s${off?' off':''}" style="padding:0;margin-bottom:12px;">`
|
||||||
+ '<label class="check schkl"><input type="checkbox" id="selall" onchange="selSegAll(this)"><span class="checkmark"></span></label>'
|
+ '<label class="check schkl"><input type="checkbox" id="selall" onchange="selSegAll(this)"><span class="checkmark"></span></label>'
|
||||||
+ `<div class="segname" ${off?'':'onclick="makeSeg()"'}><i class="icons btn-icon"></i>Add segment</div>`
|
+ `<div class="segname" ${off?'':'onclick="makeSeg()"'}><i class="icons btn-icon"></i>Add segment</div>`
|
||||||
+ '<div class="pop hide" onclick="event.stopPropagation();">'
|
+ '<div class="pop hide" onclick="event.stopPropagation();">'
|
||||||
|
|||||||
Reference in New Issue
Block a user