Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Prevent icon layout shift

Chocobozzz1eb9541b79b2
diff --git a/client/src/app/shared/shared-icons/global-icon.component.scss b/client/src/app/shared/shared-icons/global-icon.component.scss
index 0cbe36dc0d..03a524808c 100644
--- a/client/src/app/shared/shared-icons/global-icon.component.scss
+++ b/client/src/app/shared/shared-icons/global-icon.component.scss
@@ -1,12 +1,17 @@
-:host ::ng-deep {
- svg {
- vertical-align: bottom;
- width: inherit;
- height: inherit;
- }
+:host {
+ display: inline-block;
+ height: 24px;
+ width: 24px;
+
+ ::ng-deep {
+ svg {
+ vertical-align: bottom;
+ width: inherit;
+ height: inherit;
+ }
- .feather-flag {
- margin-left: -1px;
+ .feather-flag {
+ margin-left: -1px;
+ }
}
}
-