File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,8 @@ const dataset = computed<VueUiSparklineDatasetItem[]>(() =>
198198 correctedDownloads .value .map (d => ({
199199 value: d ?.value ?? 0 ,
200200 period: $t (' package.trends.date_range' , {
201- start: d .weekStart ?? ' -' ,
202- end: d .weekEnd ?? ' -' ,
201+ start: d .weekStart ? $d ( d . weekStart , ' shortDate ' ) : ' -' ,
202+ end: d .weekEnd ? $d ( d . weekEnd , ' shortDate ' ) : ' -' ,
203203 }),
204204 })),
205205)
@@ -398,6 +398,10 @@ const config = computed<VueUiSparklineConfig>(() => {
398398
399399<style >
400400/* * Overrides */
401+ /* TODO: remove this style once we have rtl support */
402+ .vue-ui-sparkline svg {
403+ direction : ltr ;
404+ }
401405.vue-ui-sparkline-title span {
402406 padding : 0 !important ;
403407 letter-spacing : 0.04rem ;
You can’t perform that action at this time.
0 commit comments