RED-4819: Fixed file actions in workflow.
This commit is contained in:
parent
73c502199c
commit
5263a1c40c
@ -39,12 +39,7 @@ export class ExpandableFileActionsComponent implements OnChanges {
|
||||
let count = 0;
|
||||
if (this.maxWidth) {
|
||||
count = Math.floor(this.maxWidth / 36) || 1;
|
||||
} else {
|
||||
this.displayedButtons = [...this.actions];
|
||||
this.hiddenButtons = [];
|
||||
}
|
||||
|
||||
if (this.minWidth <= 850) {
|
||||
} else if (this.minWidth <= 850) {
|
||||
count = Math.floor(this.minWidth / (this.actions.length * 15)) || 1;
|
||||
if (this.minWidth <= 450) {
|
||||
this.displayedButtons = [];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user