diff --git a/src/room/EncryptionLock.module.css b/src/room/EncryptionLock.module.css index 7329c2b4..abdff443 100644 --- a/src/room/EncryptionLock.module.css +++ b/src/room/EncryptionLock.module.css @@ -15,6 +15,7 @@ limitations under the License. */ .lock { + display: block; padding: var(--cpd-space-1x); border-radius: var(--cpd-radius-pill-effect); } diff --git a/src/room/EncryptionLock.tsx b/src/room/EncryptionLock.tsx index df0bc53c..f7fcda31 100644 --- a/src/room/EncryptionLock.tsx +++ b/src/room/EncryptionLock.tsx @@ -32,19 +32,13 @@ export const EncryptionLock: FC = ({ encrypted }) => { const label = encrypted ? t("common.encrypted") : t("common.unencrypted"); return ( - + ); diff --git a/src/video-grid/VideoTile.module.css b/src/video-grid/VideoTile.module.css index cded2404..9e30c6e1 100644 --- a/src/video-grid/VideoTile.module.css +++ b/src/video-grid/VideoTile.module.css @@ -158,7 +158,8 @@ unconditionally select the container so we can use cqmin units */ max-inline-size: 100%; } -.nameTag > svg { +.nameTag > svg, +.nameTag > span { flex-shrink: 0; } @@ -170,14 +171,16 @@ unconditionally select the container so we can use cqmin units */ color: var(--cpd-color-icon-primary); } -.nameTag span { +.nameTag > .name { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; padding-inline: var(--cpd-space-2x); + flex-shrink: 1; } .errorIcon { + display: block; color: var(--cpd-color-icon-critical-primary); } diff --git a/src/video-grid/VideoTile.tsx b/src/video-grid/VideoTile.tsx index 1214e2d8..3ba16315 100644 --- a/src/video-grid/VideoTile.tsx +++ b/src/video-grid/VideoTile.tsx @@ -148,22 +148,20 @@ const Tile = forwardRef(
{nameTagLeadingIcon} - + {nameTag} {unencryptedWarning && ( - + )}