Skip to content

Commit

Permalink
fix(VBadge): rtl mode (#5801)
Browse files Browse the repository at this point in the history
fixes #5684
  • Loading branch information
jacekkarczmarczyk authored and johnleider committed Dec 9, 2018
1 parent 45da2ea commit 7eadc37
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions packages/vuetify/src/stylus/components/_badges.styl
@@ -1,5 +1,27 @@
@import '../bootstrap'

v-badge-rtl()
&__badge
right: initial
left: -($badge-width)

&--overlap
.v-badge__badge
right: initial
left: -8px

&.v-badge--left
.v-badge__badge
right: -8px
left: initial

&--left
.v-badge__badge
right: -($badge-width)
left: initial

rtl(v-badge-rtl, "v-badge")

.v-badge
display: inline-block
position: relative
Expand Down

0 comments on commit 7eadc37

Please sign in to comment.