Skip to content

Commit

Permalink
fix(view): resolve layout error for rtl languages
Browse files Browse the repository at this point in the history
  • Loading branch information
MrWook committed Dec 4, 2019
1 parent f7d4f5c commit 4f6be9e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/PickerDay.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div class="picker-view">
<slot name="beforeCalendarHeaderDay" />
<PickerHeader
:config="headerConfig"
Expand Down
2 changes: 1 addition & 1 deletion src/components/PickerMonth.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div class="picker-view">
<slot name="beforeCalendarHeaderMonth" />
<PickerHeader
:config="headerConfig"
Expand Down
2 changes: 1 addition & 1 deletion src/components/PickerYear.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div>
<div class="picker-view">
<slot name="beforeCalendarHeaderYear" />
<PickerHeader
:config="headerConfig"
Expand Down
4 changes: 4 additions & 0 deletions src/styles/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@
.year {
width: 33.333%;
}

.picker-view {
width: inherit;
}
}


Expand Down

0 comments on commit 4f6be9e

Please sign in to comment.