Repaired typo + fix margin
This commit is contained in:
commit
f2625ed9e4
5314
package-lock.json
generated
5314
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"dev": "PORT=5005 next dev",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
|
@ -46,7 +46,7 @@ export enum ITypoColor {
|
||||
export default class Typography extends React.Component<IProps, IState> {
|
||||
public override render(): JSX.Element {
|
||||
return (
|
||||
<span
|
||||
<div
|
||||
className={classNames(
|
||||
classes["root"],
|
||||
classes[this.props.typo],
|
||||
@ -55,7 +55,7 @@ export default class Typography extends React.Component<IProps, IState> {
|
||||
)}
|
||||
title={this.props.title}>
|
||||
{this.props.children}
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,10 @@
|
||||
@import "@Themes/constants.scss";
|
||||
|
||||
.root {
|
||||
@media (max-width: $screen-m) {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.title {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
@ -8,6 +8,10 @@
|
||||
gap: 64px;
|
||||
max-width: 1000px;
|
||||
margin: auto;
|
||||
|
||||
@media (max-width: $screen-m) {
|
||||
margin-top: 24px;
|
||||
}
|
||||
.top-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -8,6 +8,11 @@
|
||||
gap: 64px;
|
||||
max-width: 1000px;
|
||||
margin: auto;
|
||||
|
||||
@media (max-width: $screen-m) {
|
||||
margin-top: 24px;
|
||||
}
|
||||
|
||||
.top-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
Loading…
x
Reference in New Issue
Block a user