Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(VBtn): card-actions add margin-inline-start only for for direct btns #20262

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/docs/src/pages/en/components/cards.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ The `v-card` component is a stylish way to wrap different types of content; such
| [v-card-title](/api/v-card-title/) | Sub-component used to display the Card's title. Wraps the `#title` slot |
| [v-card-subtitle](/api/v-card-subtitle/) | Sub-component used to display the Card's subtitle. Wraps the `#subtitle` slot. |
| [v-card-text](/api/v-card-text/) | Sub-component used to display the Card's text. Wraps the `#text` slot. |
| [v-card-actions](/api/v-card-actions/) | Sub-component that modifies the default styling of [v-btn](/components/buttons/). Wraps the `#actions` slot |
| [v-card-actions](/api/v-card-actions/) | Sub-component that modifies the default styling of [v-btn](/components/buttons/) that are its direct children. Wraps the `#actions` slot |

<ApiInline hide-links />

Expand Down
5 changes: 2 additions & 3 deletions packages/vuetify/src/components/VBtn/VBtn.sass
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,8 @@

// VCard
.v-btn
~ .v-btn:not(.v-btn-toggle .v-btn)
.v-card-actions &
margin-inline-start: $button-card-actions-margin
.v-card-actions > &
margin-inline-start: $button-card-actions-margin

// VPagination
.v-btn
Expand Down