Skip to content

Commit

Permalink
DropDownButton: change icon's viewbox size when splitButton=false (#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeniyKiyashko authored Oct 24, 2023
1 parent 05ffbd5 commit 406b7b3
Show file tree
Hide file tree
Showing 31 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/devextreme/scss/widgets/fluent/dropDownButton/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,14 @@
opacity: 1;
}
}

.dx-dropdownbutton-action {
&.dx-button-has-icon,
&.dx-button-has-text {
.dx-icon-spindown.dx-icon-right {
width: $fluent-dropdownbutton-icon-spindown-right-size;
height: $fluent-dropdownbutton-icon-spindown-right-size;
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@

$fluent-dropdownbutton-action-horizontal-padding: null !default;
$fluent-dropdownbutton-icon-spindown-size: null !default;
$fluent-dropdownbutton-icon-spindown-right-size: null !default;

@if $size == "default" {
$fluent-dropdownbutton-action-horizontal-padding: 12px !default;
$fluent-dropdownbutton-icon-spindown-size: 24px;
$fluent-dropdownbutton-icon-spindown-right-size: 16px !default;
}

@else if $size == "compact" {
$fluent-dropdownbutton-action-horizontal-padding: 8px !default;
$fluent-dropdownbutton-icon-spindown-size: 18px;
$fluent-dropdownbutton-icon-spindown-right-size: 12px !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.
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 406b7b3

Please sign in to comment.