fix: slider text, quote

- Quote was being irritating on lower resolutions and would make it so the text for author would go outside
- Text on slider was getting jammed together
This commit is contained in:
alexsparkes 2022-04-12 22:05:57 +01:00
parent af41947e33
commit a699163b46
2 changed files with 3 additions and 2 deletions

View File

@ -63,7 +63,7 @@ export default class SliderComponent extends PureComponent {
<>
<span className={'sliderTitle'}>
{this.props.title}
{Number(this.state.value / 100)}x
<span>{Number(this.state.value / 100)}x</span>
<span className="link" onClick={this.resetItem}>
<MdRefresh />
{variables.language.getMessage(

View File

@ -8,6 +8,7 @@
--shadow-shift: 0.125rem;
color: #fff;
font-weight: 600;
width: 40vw;
}
.quoteauthor {
@ -122,10 +123,10 @@ h1.quoteauthor {
.quotediv {
animation: fadeIn 1s;
width: 40vw;
display: flex;
flex-direction: column;
gap: 10px;
align-items: center;
button {
@include basicIconButton(11px, 1.3rem, ui);
}