mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-07-07 19:36:33 +00:00
Fix settings dialog size (#1172)
* give an id to the settings dialog to grant higher priority to css rule to fix the max-width * fix settings dialog height
This commit is contained in:
parent
a0038315da
commit
fb690c97e8
@ -63,7 +63,7 @@ export class SettingsDialog extends AbstractDialog<Promise<Settings>> {
|
|||||||
protected override readonly props: SettingsDialogProps
|
protected override readonly props: SettingsDialogProps
|
||||||
) {
|
) {
|
||||||
super(props);
|
super(props);
|
||||||
this.node.classList.add('arduino-settings-dialog-container');
|
this.node.id = 'arduino-settings-dialog-container';
|
||||||
this.contentNode.classList.add('arduino-settings-dialog');
|
this.contentNode.classList.add('arduino-settings-dialog');
|
||||||
this.appendCloseButton(
|
this.appendCloseButton(
|
||||||
nls.localize('vscode/issueMainService/cancel', 'Cancel')
|
nls.localize('vscode/issueMainService/cancel', 'Cancel')
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
.arduino-settings-dialog-container > .dialogBlock {
|
#arduino-settings-dialog-container > .dialogBlock {
|
||||||
width: calc(100% - 96px);
|
height: 531px;;
|
||||||
max-width: 740px !important;
|
max-width: 740px !important;
|
||||||
|
width: calc(100% - 96px);
|
||||||
|
}
|
||||||
|
|
||||||
|
#arduino-settings-dialog-container > .dialogBlock > .dialogContent {
|
||||||
|
justify-content: flex-start;
|
||||||
}
|
}
|
||||||
|
|
||||||
.arduino-settings-dialog .content {
|
.arduino-settings-dialog .content {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user