Give max width to directory picker

This commit is contained in:
aditya.chandel
2025-01-23 12:54:18 -07:00
parent 98530f5594
commit 8f363a8af7
2 changed files with 2 additions and 3 deletions
@@ -47,7 +47,7 @@ export class LibraryCreatorComponent implements OnInit {
this.mode = data.mode;
this.library = this.libraryService.findLibraryById(data.libraryId);
if (this.library) {
const { name, icon, paths } = this.library;
const {name, icon, paths} = this.library;
this.chosenLibraryName = name;
this.editModeLibraryName = name;
this.selectedIcon = `pi pi-${icon}`;
@@ -63,7 +63,6 @@ export class LibraryCreatorComponent implements OnInit {
contentStyle: {overflow: 'auto'},
baseZIndex: 10
});
this.directoryPickerDialogRef.onClose.subscribe((selectedFolder: string) => {
if (selectedFolder) {
this.addFolder(selectedFolder);
@@ -1,4 +1,4 @@
<div class="min-h-screen flex flex-col">
<div class="min-h-screen flex max-w-[40rem] flex-col">
<div class="mb-6 flex items-center gap-4">
<input
id="disabled-input"