Skip to content

Commit

Permalink
Fluent: change tabpanel in layout manager paddings (#25881)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Bulychev <[email protected]>
  • Loading branch information
iBat and Alexander Bulychev authored Oct 25, 2023
1 parent 3e746bf commit 65a40d4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions packages/devextreme/scss/widgets/fluent/form/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@
}

.dx-tabpanel .dx-multiview-item-content {
padding-left: 0;
padding-right: 0;
padding: $fluent-form-layout-manager-tabpanel-content-padding;
}
}

Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/scss/widgets/fluent/form/_sizes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ $fluent-form-default-top-padding: null !default;
$fluent-form-help-text-font-size: 12px !default;
$fluent-form-layout-manager-horizontal-padding: null !default;
$fluent-form-layout-manager-vertical-padding: null !default;
$fluent-form-layout-manager-tabpanel-content-padding: null !default;

$fluent-form-label-font-size: $fluent-base-font-size !default;
$fluent-form-label-icon-size: $fluent-base-icon-size !default;
Expand All @@ -25,6 +26,7 @@ $fluent-form-label-icon-size: $fluent-base-icon-size !default;
$fluent-form-top-label-bottom-margin: 4px !default;
$fluent-form-layout-manager-horizontal-padding: 12px !default;
$fluent-form-layout-manager-vertical-padding: 8px !default;
$fluent-form-layout-manager-tabpanel-content-padding: 24px !default;
}

@else if $size == "compact" {
Expand All @@ -36,4 +38,5 @@ $fluent-form-label-icon-size: $fluent-base-icon-size !default;
$fluent-form-top-label-bottom-margin: 2px !default;
$fluent-form-layout-manager-horizontal-padding: 8px !default;
$fluent-form-layout-manager-vertical-padding: 6px !default;
$fluent-form-layout-manager-tabpanel-content-padding: 16px !default;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 65a40d4

Please sign in to comment.