Remove unused interface section for interface language
authorRigel Kent <sendmemail@rigelk.eu>
Sat, 11 Apr 2020 09:30:06 +0000 (11:30 +0200)
committerRigel Kent <sendmemail@rigelk.eu>
Sat, 11 Apr 2020 14:05:50 +0000 (16:05 +0200)
client/src/app/+my-account/my-account-settings/my-account-interface/my-account-interface-settings.component.html
client/src/app/menu/language-chooser.component.scss

index 6119e73809c5b8d2564d2cdbd98ad62f9469fff2..0d0ddc0f222812b549b5b4501cfcbfab2734ddaf 100644 (file)
@@ -1,18 +1,5 @@
 <form role="form" (ngSubmit)="updateInterfaceSettings()" [formGroup]="form">
 
-  <div class="form-group">
-    <label i18n for="theme">Interface language</label>
-
-    <div class="peertube-select-container">
-      <select formControlName="theme" id="theme" class="form-control">
-        <option i18n value="instance-default">instance default</option>
-        <option i18n value="default">peertube default</option>
-
-        <option *ngFor="let theme of availableThemes" [value]="theme">{{ theme }}</option>
-      </select>
-    </div>
-  </div>
-
   <div class="form-group">
     <label i18n for="theme">Theme</label>
 
index 50d19fd1fc09b51e0997ed9feab537288e51d0e5..6226a85cb7dc237d95454dea0d2584e64ce89763 100644 (file)
@@ -5,6 +5,11 @@
   @include peertube-button-link;
   @include orange-button;
 
+  &.focus-visible,
+  &:focus {
+    box-shadow: none;
+  }
+
   border-radius: 0;
 }