Explorar el Código

Merge pull request #9980 from overleaf/mj-recompile-button-colour

[web] use bsStyle primary for recompile button group

GitOrigin-RevId: 6876f2bbfae6270d059f15c8b25af866b54d1e61
Alf Eaton hace 4 años
padre
commit
57fb1545e4

+ 1 - 1
services/web/frontend/js/features/pdf-preview/components/pdf-compile-button-inner.tsx

@@ -33,7 +33,7 @@ function PdfCompileButtonInner({
     >
     >
       <Button
       <Button
         className="btn-recompile"
         className="btn-recompile"
-        bsStyle="success"
+        bsStyle="primary"
         onClick={() => startCompile()}
         onClick={() => startCompile()}
         aria-label={compileButtonLabel}
         aria-label={compileButtonLabel}
         disabled={compiling}
         disabled={compiling}

+ 1 - 1
services/web/frontend/js/features/pdf-preview/components/pdf-compile-button.js

@@ -50,7 +50,7 @@ function PdfCompileButton() {
           'btn-recompile': true,
           'btn-recompile': true,
           'btn-recompile-animate': animateCompileDropdownArrow,
           'btn-recompile-animate': animateCompileDropdownArrow,
         })}
         })}
-        bsStyle="success"
+        bsStyle="primary"
         onAnimationEnd={() => {
         onAnimationEnd={() => {
           setAnimateCompileDropdownArrow(false)
           setAnimateCompileDropdownArrow(false)
         }}
         }}