Increased width of activity days page input
This commit is contained in:
@@ -8,10 +8,9 @@
|
|||||||
<input
|
<input
|
||||||
class="dayinput"
|
class="dayinput"
|
||||||
v-model="days"
|
v-model="days"
|
||||||
placeholder="number of days"
|
placeholder="days"
|
||||||
type="number"
|
type="number"
|
||||||
pattern="[0-9]*"
|
pattern="[0-9]*"
|
||||||
:style="{ maxWidth: `${3 + 0.5 * days.length}rem` }"
|
|
||||||
@change="fetchChartData"
|
@change="fetchChartData"
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
@@ -168,7 +167,7 @@
|
|||||||
input {
|
input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
max-width: 3rem;
|
max-width: 6rem;
|
||||||
background-color: $background-ui;
|
background-color: $background-ui;
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user