mirror of https://github.com/sgoudham/carbon.git
update spinner for react-codemirror2 (#470)
parent
2abef908ce
commit
86be3aae35
@ -1,6 +0,0 @@
|
|||||||
// For SSR, CodeMirror will throw an error, so return a div instead
|
|
||||||
let CodeMirror = 'div'
|
|
||||||
if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') {
|
|
||||||
CodeMirror = require('react-codemirror2').Controlled
|
|
||||||
}
|
|
||||||
export default CodeMirror
|
|
@ -1 +1 @@
|
|||||||
.react-spinner{position:relative;width:32px;height:32px;top:50%;left:50%}.react-spinner_bar{-webkit-animation:react-spinner_spin 1.2s linear infinite;-moz-animation:react-spinner_spin 1.2s linear infinite;animation:react-spinner_spin 1.2s linear infinite;border-radius:5px;background-color:#fff;position:absolute;width:20%;height:7.8%;top:-3.9%;left:-10%}@keyframes react-spinner_spin{0%{opacity:1}100%{opacity:.15}}@-moz-keyframes react-spinner_spin{0%{opacity:1}100%{opacity:.15}}@-webkit-keyframes react-spinner_spin{0%{opacity:1}100%{opacity:.15}}
|
.react-spinner{z-index: 999;position:relative;width:32px;height:32px;top:50%;left:50%}.react-spinner_bar{-webkit-animation:react-spinner_spin 1.2s linear infinite;-moz-animation:react-spinner_spin 1.2s linear infinite;animation:react-spinner_spin 1.2s linear infinite;border-radius:5px;background-color:#fff;position:absolute;width:20%;height:7.8%;top:-3.9%;left:-10%}@keyframes react-spinner_spin{0%{opacity:1}100%{opacity:.15}}@-moz-keyframes react-spinner_spin{0%{opacity:1}100%{opacity:.15}}@-webkit-keyframes react-spinner_spin{0%{opacity:1}100%{opacity:.15}}
|
||||||
|
Loading…
Reference in New Issue