I am having trouble using flexdashboard with crosstalk's filter_slider with dates. It does not seem to fit well in the box in the flexdashboard dashboard (see the image below). Increasing the size of the box does not help as the filter just gets bigger.
Is there a way to make the filter fit in the box? I assume that adding css specifying padding might help, but I can't make it work.
Here is how to reproduce my example:
---
title: "test"
output:
flexdashboard::flex_dashboard
---
```{r setup, include=FALSE}
library(crosstalk)
dat <- data.frame(
a = seq.Date(from = Sys.Date()-100, to = Sys.Date(), by = "days")
)
dat_shared <- SharedData$new(dat)
```
Column {data-width=800}
-------------------------------------
### Filtry
```{r}
filter_slider("date", "Date", dat_shared, ~a)
```
Column {data-width=400}
-------------------------------------

