Update AbstractDropdownMenuButton.ts
Adopt button size to content. This allows better display for european languages.
This commit is contained in:
parent
0ce1b2f718
commit
650a36e0c0
|
@ -7,10 +7,10 @@ export abstract class AbstractDropdownMenuButton<T> extends AbstractMenuButton {
|
|||
tippyEl?: HTMLDivElement;
|
||||
textEl?: HTMLDivElement;
|
||||
menuData: T[] = [];
|
||||
menuTextWidth: string = "40px";
|
||||
menuTextWidth: string = "fit-content";
|
||||
defaultMenuIndex: number = 0;
|
||||
refreshMenuText: boolean = true;
|
||||
width: string = "48px";
|
||||
width: string = "fit-content";
|
||||
dropDivWith: string = "100px";
|
||||
dropDivHeight: string = "fit-content";
|
||||
showItemsTip: boolean = false;
|
||||
|
|
Loading…
Reference in New Issue