Repaired typo + fix margin

This commit is contained in:
Vins 2024-04-12 16:29:20 +02:00
commit f2625ed9e4
6 changed files with 5262 additions and 71 deletions

5314
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -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",

View File

@ -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>
);
}
}

View File

@ -1,6 +1,10 @@
@import "@Themes/constants.scss";
.root {
@media (max-width: $screen-m) {
margin-top: 24px;
}
.title {
margin-top: 24px;
}

View File

@ -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;

View File

@ -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;