fix: overview style

- driving home for christmas
- 7.0 is christmas
- that is song lyric
This commit is contained in:
alexsparkes
2022-12-19 22:38:34 +00:00
parent 5639979c1b
commit b1ac03977e
2 changed files with 26 additions and 2 deletions

View File

@@ -121,3 +121,27 @@
}
}
}
.overviewNews {
display: flex;
flex-flow: column;
margin-top: 16px;
padding: 25px;
.title {
font-size: 36px !important;
text-align: center;
}
.subtitle {
font-size: 12px !important;
text-align: center;
text-transform: uppercase;
letter-spacing: 1px;
}
.content {
margin: 20px 20px 0;
}
@include themed() {
background: t($modal-sidebar);
border-radius: t($borderRadius);
}
}

View File

@@ -160,10 +160,10 @@ export default class OrderSettings extends PureComponent {
})}
</div>
</div>
<div style={{ display: 'flex', flexFlow: 'column' }}>
<div className="overviewNews">
<span className="title">{this.state.news.title}</span>
<span className="subtitle">{this.state.news.date}</span>
<span>{this.state.news.description}</span>
<span className="content">{this.state.news.description}</span>
<a className="link" href={this.state.news.link}>
{this.state.news.linkText}
</a>