fix normal dialog vertical scrolling issue (#23177)

This commit is contained in:
Alan Ren
2023-05-19 16:51:55 -07:00
committed by GitHub
parent e322641538
commit 5356cd7748
10 changed files with 64 additions and 33 deletions

View File

@@ -3,18 +3,11 @@
* Licensed under the Source EULA. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
.change-password-dialog {
padding: 30px;
height: 100%;
overflow: hidden;
padding: 10px;
display: flex;
flex-direction: column;
}
.change-password-dialog .properties-content {
flex: 1 1 auto;
overflow-y: auto;
}
.change-password-dialog .component-label-bold {
font-weight: 600;
padding-bottom: 30px;

View File

@@ -57,7 +57,7 @@ export class PasswordChangeDialog extends Modal {
@IContextViewService private readonly contextViewService: IContextViewService,
@ITextResourcePropertiesService textResourcePropertiesService: ITextResourcePropertiesService,
) {
super('', '', telemetryService, layoutService, clipboardService, themeService, logService, textResourcePropertiesService, contextKeyService, { hasSpinner: true, spinnerTitle: passwordChangeLoadText, dialogStyle: 'normal', width: dialogWidth, dialogPosition: 'left' });
super('', '', telemetryService, layoutService, clipboardService, themeService, logService, textResourcePropertiesService, contextKeyService, { hasSpinner: true, spinnerTitle: passwordChangeLoadText, dialogStyle: 'normal', width: dialogWidth, dialogPosition: 'left', height: 350 });
}
public open(profile: IConnectionProfile): Promise<string> {