Skip to content

Commit cacdb25

Browse files
authored
Provide table tooltip related styles globally (eclipse-esmf#129)
Signed-off-by: Pavel Shalamkov <[email protected]>
1 parent b2373ed commit cacdb25

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

Diff for: src/ng-generate/components/shared/generators/styles/general/files/__name@dasherize__.component.scss.template

+9
Original file line numberDiff line numberDiff line change
@@ -269,4 +269,13 @@ $gray-300: #e0e0e0;
269269
max-width: max-content !important;
270270
}
271271

272+
.table-cell-tooltip,
273+
.table-column-tooltip {
274+
max-height: none;
275+
276+
.mat-mdc-tooltip-surface.mdc-tooltip__surface {
277+
display: block;
278+
}
279+
}
280+
272281
<%= customStyleImports %>

Diff for: src/ng-generate/components/table/generators/components/table-cell/files/__name@dasherize__.component.scss.template

-8
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,3 @@ mat-icon {
1616
line-height: 1rem;
1717
height: 1rem;
1818
}
19-
20-
::ng-deep .table-cell-tooltip {
21-
max-height: none;
22-
23-
.mdc-tooltip__surface {
24-
display: block;
25-
}
26-
}

Diff for: src/ng-generate/components/table/generators/components/table/files/__name@dasherize__.component.scss.template

-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
/** <%= options.generationDisclaimerText %> **/
22
@import 'general.component';
33

4-
::ng-deep .table-column-tooltip {
5-
max-height: none;
6-
7-
.mdc-tooltip__surface {
8-
display: block;
9-
}
10-
}
11-
124
.table-header-icon {
135
margin-left: 0.5rem;
146
cursor: default;

0 commit comments

Comments
 (0)