Skip to content

Commit

Permalink
fix(VBtn): re-add support for non-fab absolutely positioned buttons
Browse files Browse the repository at this point in the history
fixes #7948
  • Loading branch information
johnleider committed Jul 27, 2019
1 parent 2666cca commit 23c8518
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions packages/vuetify/src/components/VBtn/VBtn.sass
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,22 @@
&:focus:before
opacity: $btn-focus-opacity

.v-btn--absolute
.v-btn--absolute,
.v-btn--fixed
position: absolute

&.v-btn--right
right: map-get($grid-gutters, 'lg')

&.v-btn--left
left: map-get($grid-gutters, 'lg')

&.v-btn--top
top: map-get($grid-gutters, 'lg')

&.v-btn--bottom
bottom: map-get($grid-gutters, 'lg')

.v-btn--block
display: flex
flex: 1 0 auto
Expand Down Expand Up @@ -209,19 +222,6 @@
&.v-btn--top
top: -#{$size / 2}px

&.v-btn--fixed
&.v-btn--top
top: map-get($grid-gutters, 'lg')
&.v-btn--bottom
bottom: map-get($grid-gutters, 'lg')

&.v-btn--absolute,
&.v-btn--fixed
&.v-btn--left
left: map-get($grid-gutters, 'lg')
&.v-btn--right
right: map-get($grid-gutters, 'lg')

.v-btn--fixed
position: fixed

Expand Down

0 comments on commit 23c8518

Please sign in to comment.