-
Notifications
You must be signed in to change notification settings - Fork 2
Divyanshu/Saurabh | Design issue fix #508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c0946f0
c356d89
ce694e5
e86949b
d43669c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| @if (loading$ | async; as loading) { | ||
| <div class="app-content flex flex-col"> | ||
| <div class="flex flex-col"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| @if (loading.dataLoading && (hasSomeFeatures$ | async) === null) { <proxy-loader></proxy-loader> } | ||
|
|
||
| <!-- Action Bar --> | ||
|
|
@@ -60,7 +60,7 @@ <h4 class="my-0 text-secondary mat-body-1 font-semibold">Blocks</h4> | |
| <th mat-header-cell *matHeaderCellDef mat-sort-header class="width-md-300">Name</th> | ||
| <td mat-cell *matCellDef="let element" data-label="Name"> | ||
| @if (!loading.dataLoading) { | ||
| <span class="font-semibold text-sm text-color">{{ element.name }}</span> | ||
| <span>{{ element.name }}</span> | ||
| } @else { | ||
| <ng-container [ngTemplateOutlet]="loadingRef"></ng-container> | ||
| } | ||
|
|
@@ -76,7 +76,7 @@ <h4 class="my-0 text-secondary mat-body-1 font-semibold">Blocks</h4> | |
| <span | ||
| [matTooltip]="element.reference_id" | ||
| matTooltipPosition="above" | ||
| class="cursor-pointer font-mono text-xs bg-[var(--color-common-chip-bg)] px-2 py-0.5 rounded-4 [color:var(--color-common-text-2)] min-w-[150px]" | ||
| class="cursor-pointer font-mono text-xs px-2 py-0.5 rounded-4 min-w-[150px]" | ||
| > | ||
| {{ | ||
| element.reference_id?.length > 15 | ||
|
|
@@ -102,11 +102,7 @@ <h4 class="my-0 text-secondary mat-body-1 font-semibold">Blocks</h4> | |
| <th mat-header-cell *matHeaderCellDef mat-sort-header class="width-md-200">Method</th> | ||
| <td mat-cell *matCellDef="let element" data-label="Method"> | ||
| @if (!loading.dataLoading) { @if (element.method?.name) { | ||
| <span | ||
| class="inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-[var(--color-common-chip-bg)] [color:var(--color-common-text-2)]" | ||
| > | ||
| {{ element.method?.name }} | ||
| </span> | ||
| {{ element.method?.name }} | ||
| } } @else { | ||
| <ng-container [ngTemplateOutlet]="loadingRef"></ng-container> | ||
| } | ||
|
|
@@ -118,11 +114,7 @@ <h4 class="my-0 text-secondary mat-body-1 font-semibold">Blocks</h4> | |
| <th mat-header-cell *matHeaderCellDef mat-sort-header class="width-md-200">Type</th> | ||
| <td mat-cell *matCellDef="let element" data-label="Type"> | ||
| @if (!loading.dataLoading) { @if (element.feature?.name) { | ||
| <span | ||
| class="inline-flex items-center px-2 py-0.5 rounded-full text-xs font-medium bg-[var(--color-common-chip-bg)] [color:var(--color-common-text-2)]" | ||
| > | ||
| {{ element.feature?.name }} | ||
| </span> | ||
| {{ element.feature?.name }} | ||
| } } @else { | ||
| <ng-container [ngTemplateOutlet]="loadingRef"></ng-container> | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,18 @@ | ||
| <div class="flex w-full h-full" [class.collapsed-sidebar]="!(isSideNavOpen | async)"> | ||
| <div | ||
| class="flex flex-col transition-all duration-200 mat-drawer-content max-desktop:fixed max-desktop:z-[999] max-desktop:top-0 max-desktop:bottom-0" | ||
| class="flex flex-col transition-all duration-200 mat-drawer-content max-desktop:fixed max-desktop:z-[999] max-desktop:top-0 max-desktop:bottom-0 bg-color p-2" | ||
| [class.mat-drawer-toggle-btn-hover]="isSideNavOpen | async" | ||
| [class]="!(isSideNavOpen | async) ? 'overflow-hidden !w-[56px]' : 'w-[246px]'" | ||
| [class]="!(isSideNavOpen | async) ? 'overflow-hidden !w-[56px] p-1.5' : 'w-[246px]'" | ||
| > | ||
| <div | ||
| class="flex items-center mat-drawer-header" | ||
| [class]="!(isSideNavOpen | async) ? 'flex-col gap-2 mt-3' : ''" | ||
| > | ||
| <div class="flex items-center py-2" [class]="!(isSideNavOpen | async) ? 'flex-col gap-2' : ''"> | ||
| <div | ||
| class="flex items-center grow gap-2 mat-drawer-header-title px-4" | ||
| #clientsMenuTrigger="matMenuTrigger" | ||
| [matMenuTriggerFor]="clientsMenu" | ||
| > | ||
| @if (!(isSideNavOpen | async)) { | ||
| <mat-icon class="mat-icon-22">apps</mat-icon> | ||
| } | ||
| <div | ||
| class="flex items-center gap-x-1 mat-drawer-header-subtitle cursor-pointer" | ||
| [class.hidden]="!(isSideNavOpen | async)" | ||
|
|
@@ -102,7 +101,7 @@ | |
| </mat-slide-toggle> | ||
| </div> | ||
| } | ||
| <button matButton [matMenuTriggerFor]="menu"> | ||
| <button class="!rounded-lg" matButton [matMenuTriggerFor]="menu"> | ||
| <div class="flex items-center"> | ||
| @if (user.photoURL) { | ||
| <img [src]="user.photoURL" alt="No Image" class="w-7 h-7 rounded-full" loading="lazy" /> | ||
|
|
@@ -114,7 +113,7 @@ | |
| <div class="flex flex-col" style="width: 140px"> | ||
| <h6 [class.hidden]="!(isSideNavOpen | async)" class="username m-0">{{ user.displayName }}</h6> | ||
| </div> | ||
| <mat-icon class="mx-1 text-secondary material-icons-outlined">keyboard_arrow_up</mat-icon> | ||
| <mat-icon class="mx-1 material-icons-outlined">keyboard_arrow_up</mat-icon> | ||
| </div> | ||
| </button> | ||
| <mat-menu #menu="matMenu" class="profile-menu ml-1"> | ||
|
|
@@ -126,7 +125,7 @@ <h4 class="m-0 py-2 px-6 text-dark font-medium">{{ user.displayName }}</h4> | |
| </div> | ||
| } | ||
| </div> | ||
| <div class="flex-1 flex flex-col overflow-hidden"> | ||
| <div class="flex-1 flex flex-col app-content"> | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| <!-- Content::START --> | ||
| <router-outlet></router-outlet> | ||
| <div id="ChatbotContainer" class="h-screen w-full"></div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| :host { | ||
| a.active-list-item::before { | ||
| background-color: var(--mat-list-list-item-hover-state-layer-color, var(--mat-sys-on-surface)); | ||
| opacity: var(--mat-list-list-item-hover-state-layer-opacity, var(--mat-sys-hover-state-layer-opacity)); | ||
| .service-list { | ||
| .mat-mdc-list-item { | ||
| border-radius: 8px !important; | ||
| height: 42px !important; | ||
| margin-bottom: 2px; | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the max-width constraint from
.code-snippet-viewmight cause content to stretch too wide on larger screens. Consider if this was intentional or if a different max-width value would be more appropriate to maintain readability.