Skip to content

Commit c3a573b

Browse files
committed
Fix TrendsChart date input value getting clipped on chrome android
There's a bug where the date input value reserves margin right even when it doesn't need to, this leads to the value getting clipped. We override the margin to fix that. Fixes: #1931
1 parent d3cfce5 commit c3a573b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

app/components/Package/TrendsChart.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2105,4 +2105,8 @@ watch(selectedMetric, value => {
21052105
[data-minimap-visible='false'] .vue-data-ui-watermark {
21062106
top: calc(100% - 2rem) !important;
21072107
}
2108+
2109+
input::-webkit-date-and-time-value {
2110+
margin-inline: 4px;
2111+
}
21082112
</style>

0 commit comments

Comments
 (0)