diff --git a/src/components/MediaSettings/MediaSettings.vue b/src/components/MediaSettings/MediaSettings.vue
index ffab5775e7e..7821c9c086f 100644
--- a/src/components/MediaSettings/MediaSettings.vue
+++ b/src/components/MediaSettings/MediaSettings.vue
@@ -74,46 +74,28 @@
-
-
-
-
-
-
- {{ t('spreed', 'Devices') }}
-
-
-
-
-
- {{ t('spreed', 'Backgrounds') }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ tab.label }}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/MediaSettings/VideoBackgroundEditor.vue b/src/components/MediaSettings/VideoBackgroundEditor.vue
index 53c82522084..2daba8761a3 100644
--- a/src/components/MediaSettings/VideoBackgroundEditor.vue
+++ b/src/components/MediaSettings/VideoBackgroundEditor.vue
@@ -302,6 +302,11 @@ export default {
&--selected {
box-shadow: inset 0 0 0 var(--default-grid-baseline) var(--color-primary-element);
}
+
+ &:focus-visible {
+ // Do not overflow container
+ outline-offset: -2px; // inline with server's global focus outline
+ }
}
}