15672: Fixes warnings
[arvados-workbench2.git] / src / common / custom-theme.ts
index 0faf781d6d27edbcb8b09db7496902927ffb8feb..169358dc06e992b3a8b5023e41a6b846e02b8c80 100644 (file)
@@ -71,9 +71,11 @@ export const themeOptions: ArvadosThemeOptions = {
             }
         },
         MuiTab: {
-            selected: {
-                fontWeight: 700,
-                color: arvadosPurple
+            root: {
+                '&$selected': {
+                    fontWeight: 700,
+                    color: arvadosPurple
+                }
             }
         },
         MuiList: {
@@ -121,11 +123,11 @@ export const themeOptions: ArvadosThemeOptions = {
         },
         MuiFormLabel: {
             root: {
-                fontSize: '0.875rem'
-            },
-            focused: {
-                "&$focused:not($error)": {
-                    color: arvadosPurple
+                fontSize: '0.875rem',
+                "&$focused": {
+                    "&$focused:not($error)": {
+                        color: arvadosPurple
+                    }
                 }
             }
         },