Skip to content

Commit

Permalink
fix(VDialog): adjust styling to better match material spec
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Apr 22, 2024
1 parent 245f6d3 commit 383bbdc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions packages/vuetify/src/components/VDialog/VDialog.sass
Expand Up @@ -43,6 +43,9 @@
line-height: inherit
padding: $dialog-card-text-padding

> .v-card-actions
justify-content: $dialog-card-actions-justify

.v-dialog--fullscreen
--v-scrollbar-offset: 0px

Expand Down
7 changes: 4 additions & 3 deletions packages/vuetify/src/components/VDialog/_variables.scss
Expand Up @@ -7,7 +7,8 @@ $dialog-elevation: 24 !default;
$dialog-border-radius: settings.$border-radius-root !default;
$dialog-margin: 24px !default;

$dialog-card-header-padding: 14px 24px 0 !default;
$dialog-card-header-text-padding-top: 10px !default;
$dialog-card-text-padding: 16px 24px 10px !default;
$dialog-card-actions-justify: flex-end !default;
$dialog-card-header-padding: 16px 24px !default;
$dialog-card-header-text-padding-top: 0 !default;
$dialog-card-text-padding: 16px 24px 24px !default;
$dialog-card-text-letter-spacing: tools.map-deep-get(settings.$typography, 'body-1', 'letter-spacing') !default;

0 comments on commit 383bbdc

Please sign in to comment.