File tree Expand file tree Collapse file tree 4 files changed +15
-9
lines changed
src/components/tile-manager Expand file tree Collapse file tree 4 files changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,14 @@ $theme: $material;
2323 box-shadow : var-get ($theme , ' drag-elevation' );
2424}
2525
26+ [part ~= ' resizing' ] {
27+ opacity : .3 ;
28+
29+ & :hover {
30+ border : rem (1px ) solid var-get ($theme , ' border-color' );
31+ }
32+ }
33+
2634[part = " content-container" ] {
2735 background : var-get ($theme , ' content-background' );
2836 color : var-get ($theme , ' content-color' );
Original file line number Diff line number Diff line change 2121}
2222
2323[part = ' actions' ] {
24+ display : flex ;
2425 gap : rem (8px );
2526}
Original file line number Diff line number Diff line change 33
44:host {
55 display : block ;
6- height : fit-content ;
76 position : relative ;
87}
98
109[part ~= ' base' ] {
1110 resize : both ;
1211 overflow : auto ;
12+ width : 100% ;
13+ height : 100% ;
1314}
1415
1516[part = ' content-container' ] {
Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ import { styles } from './themes/tile-header.base.css.js';
88 * @element igc-card-header
99 *
1010 * @slot title - Renders the tile title
11- * @slot subtitle - Renders the tile subtitle
1211 * @slot actions - Renders the tile actions
13- * @slot - Renders content next to the tile title
1412 *
1513 * @csspart header - The tile header container
14+ * @csspart title - The tile title container
15+ * @csspart actions - The tile actions container
1616 */
1717export default class IgcTileHeaderComponent extends LitElement {
1818 public static readonly tagName = 'igc-tile-header' ;
@@ -27,25 +27,21 @@ export default class IgcTileHeaderComponent extends LitElement {
2727 return html `
2828 < div part ="header ">
2929 < slot part ="title " name ="title "> </ slot >
30- < span part ="actions ">
30+ < section part ="actions ">
3131 < igc-icon-button
3232 variant ="flat "
3333 collection ="default "
3434 exportparts ="icon "
3535 name ="expand_content "
3636 > </ igc-icon-button >
37- </ span >
38- < span part ="actions ">
3937 < igc-icon-button
4038 variant ="flat "
4139 collection ="default "
4240 exportparts ="icon "
4341 name ="fullscreen "
4442 > </ igc-icon-button >
45- </ span >
46- < span part ="actions ">
4743 < slot name ="actions "> </ slot >
48- </ span >
44+ </ section >
4945 </ div >
5046 ` ;
5147 }
You can’t perform that action at this time.
0 commit comments