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.mode = data.mode;
|
||||||
this.library = this.libraryService.findLibraryById(data.libraryId);
|
this.library = this.libraryService.findLibraryById(data.libraryId);
|
||||||
if (this.library) {
|
if (this.library) {
|
||||||
const { name, icon, paths } = this.library;
|
const {name, icon, paths} = this.library;
|
||||||
this.chosenLibraryName = name;
|
this.chosenLibraryName = name;
|
||||||
this.editModeLibraryName = name;
|
this.editModeLibraryName = name;
|
||||||
this.selectedIcon = `pi pi-${icon}`;
|
this.selectedIcon = `pi pi-${icon}`;
|
||||||
@@ -63,7 +63,6 @@ export class LibraryCreatorComponent implements OnInit {
|
|||||||
contentStyle: {overflow: 'auto'},
|
contentStyle: {overflow: 'auto'},
|
||||||
baseZIndex: 10
|
baseZIndex: 10
|
||||||
});
|
});
|
||||||
|
|
||||||
this.directoryPickerDialogRef.onClose.subscribe((selectedFolder: string) => {
|
this.directoryPickerDialogRef.onClose.subscribe((selectedFolder: string) => {
|
||||||
if (selectedFolder) {
|
if (selectedFolder) {
|
||||||
this.addFolder(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">
|
<div class="mb-6 flex items-center gap-4">
|
||||||
<input
|
<input
|
||||||
id="disabled-input"
|
id="disabled-input"
|
||||||
|
|||||||
Reference in New Issue
Block a user