Explorar o código

Merge pull request #34100 from overleaf/mg-fix-style

Stop inherited color overriding active list group item colour

GitOrigin-RevId: 7e36c2129661b4582658a5ccd9edfb15f12e701c
Malik Glossop hai 2 meses
pai
achega
54e122610e

+ 0 - 2
services/web/frontend/js/features/source-editor/extensions/toolbar/toolbar-panel.ts

@@ -102,11 +102,9 @@ const toolbarTheme = EditorView.theme({
       background: 'none',
       '&.active': {
         backgroundColor: 'rgba(125, 125, 125, 0.1)',
-        color: 'inherit',
       },
       '&:hover, &:focus': {
         backgroundColor: 'rgba(125, 125, 125, 0.2)',
-        color: 'inherit',
       },
       '&.ol-cm-section-heading-menu-item': {
         border: 'none',