Skip to content

Commit

Permalink
Fluent: update popup paddings (#25828)
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 18, 2023
1 parent a3a7c07 commit 1c80639
Show file tree
Hide file tree
Showing 28 changed files with 6 additions and 4 deletions.
5 changes: 2 additions & 3 deletions packages/devextreme/scss/widgets/fluent/gridBase/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1209,8 +1209,7 @@ $fluent-grid-base-group-panel-message-line-height: $fluent-button-text-line-heig

.dx-header-filter-menu {
.dx-popup-content {
padding: 12px 8px 0 8px;
border-bottom: 1px solid $fluent-grid-base-border-color;
padding: 8px 8px 0 8px;
}
}

Expand All @@ -1231,7 +1230,7 @@ $fluent-grid-base-group-panel-message-line-height: $fluent-button-text-line-heig

.dx-icon-filter {
color: $datagrid-filter-panel-color;

@include dx-icon-sizing($fluent-filter-panel-icon-size);
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme/scss/widgets/fluent/popup/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $fluent-popup-toolbar-label-font-size: $fluent-m-font-size;
&.dx-toolbar {
@include dx-toolbar-sizing(
$fluent-popup-bottom-toolbar-height,
0 $fluent-popup-content-withtitle-top-padding,
0 $fluent-popup-content-withtitle-top-padding $fluent-popup-content-withtitle-bottom-padding,
$fluent-popup-toolbar-label-font-size,
$fluent-popup-toolbar-item-spacing
);
Expand Down
3 changes: 3 additions & 0 deletions packages/devextreme/scss/widgets/fluent/popup/_sizes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

$fluent-popup-content-padding: null !default;
$fluent-popup-content-withtitle-top-padding: null !default;
$fluent-popup-content-withtitle-bottom-padding: null !default;
$fluent-popup-toolbar-horizontal-padding: null !default;
$fluent-popup-bottom-toolbar-height: null !default;
$fluent-popup-toolbar-height: null !default;
Expand All @@ -14,6 +15,7 @@ $fluent-popup-toolbar-item-spacing: 8px !default;
@if $size == "default" {
$fluent-popup-content-padding: 24px !default;
$fluent-popup-content-withtitle-top-padding: 24px !default;
$fluent-popup-content-withtitle-bottom-padding: 16px !default;

$fluent-popup-toolbar-horizontal-padding: 24px !default;
$fluent-popup-bottom-toolbar-height: 48px !default;
Expand All @@ -23,6 +25,7 @@ $fluent-popup-toolbar-item-spacing: 8px !default;
@else if $size == "compact" {
$fluent-popup-content-padding: 16px !default;
$fluent-popup-content-withtitle-top-padding: 16px !default;
$fluent-popup-content-withtitle-bottom-padding: 12px !default;

$fluent-popup-toolbar-horizontal-padding: 16px !default;
$fluent-popup-bottom-toolbar-height: 36px !default;
Expand Down
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.
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.
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.
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.
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.
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.
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.
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.
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 1c80639

Please sign in to comment.