Improve UI compatibility for mobile devices
This commit is contained in:
committed by
Aditya Chandel
parent
c8b994ed82
commit
d0edf800c7
+1
-1
@@ -1,5 +1,5 @@
|
||||
<div class="rounded-xl overflow-hidden">
|
||||
<p-tabs [value]="tab" lazy="true">
|
||||
<p-tabs [value]="tab" lazy="true" scrollable >
|
||||
<p-tablist>
|
||||
<p-tab value="view">
|
||||
<i [class]="'pi pi-book'"></i>
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
@if (book$ | async; as book) {
|
||||
<form [formGroup]="metadataForm" (ngSubmit)="onSave()" class="flex flex-col h-full">
|
||||
<form [formGroup]="metadataForm" (ngSubmit)="onSave()" class="flex flex-col h-full w-full">
|
||||
<div class="flex-grow overflow-auto p-4">
|
||||
<div class="flex justify-center items-center" [ngStyle]="{'padding-bottom': '0.75rem', 'padding-left': '7.6rem'}">
|
||||
<p class="ml-3 text-lg">Current Metadata</p>
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
@if (selectedFetchedMetadata$ | async; as selectedFetchedMetadata) {
|
||||
<div class="h-full flex-auto">
|
||||
<div class="h-full w-full flex-auto min-w-[80rem]">
|
||||
<app-metadata-picker
|
||||
[fetchedMetadata]="selectedFetchedMetadata"
|
||||
[book$]="book$"
|
||||
@@ -7,7 +7,7 @@
|
||||
</app-metadata-picker>
|
||||
</div>
|
||||
} @else {
|
||||
<form class="flex flex-col w-full h-full pt-2" [formGroup]="form" (ngSubmit)="onSubmit()">
|
||||
<form class="flex flex-col w-full h-full pt-2 min-w-[60rem] pr-4" [formGroup]="form" (ngSubmit)="onSubmit()">
|
||||
<div class="flex w-full gap-x-4 items-end">
|
||||
<div class="flex flex-col gap-1 w-3/12">
|
||||
<label>Providers</label>
|
||||
|
||||
+1
-1
@@ -313,7 +313,7 @@
|
||||
|
||||
<p-divider></p-divider>
|
||||
|
||||
<div class="flex-1 space-y-2 px-2">
|
||||
<div class="flex-1 space-y-2 px-2 min-w-[40rem]">
|
||||
<div [ngClass]="{ 'line-clamp-5': !isExpanded, 'line-clamp-none': isExpanded }" class="transition-all duration-300 overflow-hidden description-container">
|
||||
<div class="readonly-editor px-2">
|
||||
<p-editor #quillEditor [readonly]="true" [style]="{height: '250px'}" [(ngModel)]="book.metadata!.description">
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ export class MetadataViewerComponent implements OnInit, OnChanges {
|
||||
header: 'Send Book to Email',
|
||||
modal: true,
|
||||
closable: true,
|
||||
style: {position: 'absolute', top: '15%'},
|
||||
style: {position: 'absolute', top: '20%'},
|
||||
data: {bookId: metadata.bookId}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user