File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed
src/components/tile-manager Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export default class IgcResizeComponent extends EventEmitterMixin<
2929
3030 public static styles = css `
3131 :host {
32- display: block ;
32+ display: contents ;
3333 }
3434
3535 [part='resize-base'] {
Original file line number Diff line number Diff line change 1313 height : 100% ;
1414}
1515
16+ div [part ~= ' base' ] {
17+ position : absolute ;
18+ }
19+
1620[part = ' content-container' ] {
1721 display : block ;
1822 overflow : auto ;
Original file line number Diff line number Diff line change @@ -378,14 +378,23 @@ export default class IgcTileComponent extends EventEmitterMixin<
378378
379379 // REVIEW
380380 protected ghostFactory = ( ) => {
381+ const ghostBackground = window
382+ . getComputedStyle ( this )
383+ . getPropertyValue ( '--placeholder-background' ) ;
384+
385+ const ghostBorder = window
386+ . getComputedStyle ( this )
387+ . getPropertyValue ( '--ghost-border' ) ;
388+
381389 const ghost = this . cloneNode ( true ) as IgcTileComponent ;
382390 Object . assign ( ghost . style , {
383391 position : 'absolute' ,
384392 top : 0 ,
385393 left : 0 ,
386394 zIndex : 1000 ,
387- opacity : 0.75 ,
388- filter : 'drop-shadow(1px 1px 3px #333)' ,
395+ background : ghostBackground ,
396+ border : `1px solid ${ ghostBorder } ` ,
397+ borderRadius : '4px' ,
389398 width : '100%' ,
390399 height : '100%' ,
391400 gridRow : '' ,
You can’t perform that action at this time.
0 commit comments