Mobile fixes
This commit is contained in:
parent
1bbd4a785b
commit
98c0a0b808
@ -39,7 +39,6 @@ func PostAutoClose(ctx *gin.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Time period cannot be negative, convertFromAutoCloseBody will not allow
|
// Time period cannot be negative, convertFromAutoCloseBody will not allow
|
||||||
|
|
||||||
if (settings.SinceOpenWithNoResponse != nil && *settings.SinceOpenWithNoResponse > maxLength) ||
|
if (settings.SinceOpenWithNoResponse != nil && *settings.SinceOpenWithNoResponse > maxLength) ||
|
||||||
(settings.SinceLastMessage != nil && *settings.SinceLastMessage > maxLength) {
|
(settings.SinceLastMessage != nil && *settings.SinceLastMessage > maxLength) {
|
||||||
ctx.JSON(400, utils.ErrorStr("Time period cannot be longer than %d days", maxDays))
|
ctx.JSON(400, utils.ErrorStr("Time period cannot be longer than %d days", maxDays))
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
input {
|
input {
|
||||||
border-top-right-radius: 0 !important;
|
border-top-right-radius: 0 !important;
|
||||||
border-bottom-right-radius: 0 !important;
|
border-bottom-right-radius: 0 !important;
|
||||||
width: 100px;
|
width: 100%;
|
||||||
-moz-appearance: textfield;
|
-moz-appearance: textfield;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<Checkbox col4={true} label="Enabled" bind:value={data.enabled}/>
|
<Checkbox col4={true} label="Enabled" bind:value={data.enabled}/>
|
||||||
<Checkbox col4={true} label="Close On User Leave" bind:value={data.on_user_leave}/>
|
<Checkbox col4={true} label="Close On User Leave" bind:value={data.on_user_leave}/>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row" style="justify-content: space-between">
|
||||||
<div class="col-2" style="flex-direction: row">
|
<div class="col-2" style="flex-direction: row">
|
||||||
<Duration label="Since Open With No Response" badge="Premium" disabled={!isPremium}
|
<Duration label="Since Open With No Response" badge="Premium" disabled={!isPremium}
|
||||||
bind:days={sinceOpenDays} bind:hours={sinceOpenHours} bind:minutes={sinceOpenMinutes}/>
|
bind:days={sinceOpenDays} bind:hours={sinceOpenHours} bind:minutes={sinceOpenMinutes}/>
|
||||||
@ -42,6 +42,12 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 950px) {
|
||||||
|
.row {
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.form-wrapper > .row:not(:last-child) {
|
.form-wrapper > .row:not(:last-child) {
|
||||||
margin-bottom: 1%;
|
margin-bottom: 1%;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user