diff --git a/src/tile/SpotlightTile.module.css b/src/tile/SpotlightTile.module.css index 1aee4589f..fdae2e891 100644 --- a/src/tile/SpotlightTile.module.css +++ b/src/tile/SpotlightTile.module.css @@ -14,7 +14,9 @@ See the License for the specific language governing permissions and limitations under the License. */ -.tile { +.contents { + block-size: 100%; + inline-size: 100%; display: flex; border-radius: var(--cpd-space-6x); contain: strict; @@ -29,7 +31,7 @@ limitations under the License. scroll-behavior: smooth; */ } -.tile.maximised { +.tile.maximised .contents { border-radius: 0; } @@ -153,7 +155,7 @@ limitations under the License. } .indicators > .item { - inline-size: 32px; + flex-basis: 32px; block-size: 2px; transition: background-color ease 0.15s; } diff --git a/src/tile/SpotlightTile.tsx b/src/tile/SpotlightTile.tsx index 8a71c8ec3..380e8ff0f 100644 --- a/src/tile/SpotlightTile.tsx +++ b/src/tile/SpotlightTile.tsx @@ -272,16 +272,18 @@ export const SpotlightTile = forwardRef( )} - {vms.map((vm) => ( - - ))} +
+ {vms.map((vm) => ( + + ))} +
{onToggleExpanded && (