Skip to content

Commit 3353f33

Browse files
committed
fix(tile-manager): hide maximize button in fullscreen
1 parent 9952baa commit 3353f33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/tile-manager/tile-header.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { consume } from '@lit/context';
2-
import { LitElement, html } from 'lit';
2+
import { LitElement, html, nothing } from 'lit';
33
import { themes } from '../../theming/theming-decorator.js';
44
import IgcIconButtonComponent from '../button/icon-button.js';
55
import { type TileContext, tileContext } from '../common/context.js';
@@ -114,7 +114,8 @@ export default class IgcTileHeaderComponent extends LitElement {
114114
<div part="header">
115115
<slot part="title" name="title"></slot>
116116
<section part="actions">
117-
${this._renderAction(maximize)} ${this._renderAction(fullscreen)}
117+
${!this._isFullscreen ? this._renderAction(maximize) : nothing}
118+
${this._renderAction(fullscreen)}
118119
<slot name="actions"></slot>
119120
</section>
120121
</div>

0 commit comments

Comments
 (0)