diff --git a/src/app/app.component.html b/src/app/app.component.html index ab790f70..e97f7444 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -17,14 +17,6 @@
- - Fork me on GitHub - diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index eb72a4c3..6794d042 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -52,11 +52,4 @@ describe('AppComponent', () => { it('should create the app', () => { expect(app).toBeTruthy(); }); - - it('check for fork me on github ribbon generation', () => { - const compiled = fixture.nativeElement as HTMLElement; - const githubLink = compiled.querySelector('.github-fork-ribbon'); - expect(githubLink).not.toBeNull(); - expect(githubLink?.textContent?.trim()).toBe('Fork me on GitHub'); - }); }); diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 435bd2d2..aed71fa0 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -31,6 +31,7 @@ import { ProgressSliderComponent } from './component/progress-slider/progress-sl import { KpiComponent } from './component/kpi/kpi.component'; import { MatDialogModule, MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog'; import { TeamsGroupsEditorModule } from './component/teams-groups-editor/teams-groups-editor.module'; +import { MatTooltipModule } from '@angular/material/tooltip'; @NgModule({ declarations: [ @@ -67,6 +68,7 @@ import { TeamsGroupsEditorModule } from './component/teams-groups-editor/teams-g FormsModule, HttpClientModule, TeamsGroupsEditorModule, + MatTooltipModule, ], providers: [ LoaderService, diff --git a/src/app/component/activity-description/activity-description.component.css b/src/app/component/activity-description/activity-description.component.css index 20a4ed39..826aae31 100644 --- a/src/app/component/activity-description/activity-description.component.css +++ b/src/app/component/activity-description/activity-description.component.css @@ -55,6 +55,10 @@ list-style: none; } +::ng-deep #description img { + max-width: 100%; +} + /* Ensure panel titles don't wrap */ mat-panel-title b { white-space: nowrap; diff --git a/src/app/pages/circular-heatmap/circular-heatmap.component.css b/src/app/pages/circular-heatmap/circular-heatmap.component.css index b31aac0b..6f721dda 100644 --- a/src/app/pages/circular-heatmap/circular-heatmap.component.css +++ b/src/app/pages/circular-heatmap/circular-heatmap.component.css @@ -8,12 +8,27 @@ shape-rendering: crispEdges; } -.title-button { - background-color: transparent; - border: none; - text-align: left; - cursor: pointer; - font-weight: 700; +.title-text { + font-weight: 500; + margin-right: 5px; +} + +.info-button { + width: 24px; + height: 24px; + line-height: 24px; + opacity: 0.6; +} +.compact-tooltip { + transform: translateY(-20px) !important; +} + +.info-icon { + font-size: 18px; +} + +.info-button:hover { + opacity: 1; } .right-panel { diff --git a/src/app/pages/circular-heatmap/circular-heatmap.component.html b/src/app/pages/circular-heatmap/circular-heatmap.component.html index 2d47efda..6e970187 100644 --- a/src/app/pages/circular-heatmap/circular-heatmap.component.html +++ b/src/app/pages/circular-heatmap/circular-heatmap.component.html @@ -73,8 +73,16 @@

Nothing to show

(closed)="onPanelClosed(activity)"> - diff --git a/src/styles.css b/src/styles.css index 77080f8a..fa4c6eb5 100644 --- a/src/styles.css +++ b/src/styles.css @@ -58,4 +58,8 @@ h1, h2, h3 { .usage-dimensions img { max-width: 40rem; -} \ No newline at end of file +} + +.compact-tooltip { + transform: translateY(-10px) !important; +}