Give max width to directory picker
This commit is contained in:
@@ -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
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user