Fix: date & region selector styling
This commit is contained in:
parent
322ae58a6e
commit
ede735cbeb
2 changed files with 13 additions and 1 deletions
|
@ -34,11 +34,22 @@ label {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Fixed height for input/select elements */
|
||||||
select, input {
|
select, input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: 8px;
|
padding: 8px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
height: 40px; /* Set a fixed height for both */
|
||||||
|
line-height: 24px; /* Consistent line height */
|
||||||
|
font-size: 14px; /* Consistent font size */
|
||||||
|
appearance: auto; /* Preserve native appearance but ensure consistent sizing */
|
||||||
|
}
|
||||||
|
|
||||||
|
.date-input {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.chart-container {
|
.chart-container {
|
||||||
|
|
|
@ -22,7 +22,8 @@
|
||||||
id="date"
|
id="date"
|
||||||
[value]="formattedDate"
|
[value]="formattedDate"
|
||||||
(change)="onDateChange($event)"
|
(change)="onDateChange($event)"
|
||||||
[max]="maxDate">
|
[max]="maxDate"
|
||||||
|
class="date-input">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue