react-clock
react-clock copied to clipboard
Trick to make clock responsive (css)
Hi!
I leave a css trick to make react-clock responsive.
<React.Fragment className={'container'}>
<Clock value={value}/>
</React.Fragment>
.container {
width: 300px;
}
.react-clock {
width: inherit !important;
padding-top: 100%;
}
I hope you find it useful and thanks for your work.