diff --git a/front/src/components/Poetry.tsx b/front/src/components/Poetry.tsx
index 2bd23aa..29659e5 100644
--- a/front/src/components/Poetry.tsx
+++ b/front/src/components/Poetry.tsx
@@ -7,7 +7,7 @@ function Poetry() {
const poetry = usePoetry()
return (
-
+
Поэзия
{
gotResponse(poetry) ? (
gotError(poetry) ? (
@@ -26,6 +26,7 @@ function Poetry() {
}}
/>
{poetry.data.author}
+
>
)
) : (
@@ -33,7 +34,7 @@ function Poetry() {
)
}
-
+
)
}
diff --git a/front/src/components/Points.tsx b/front/src/components/Points.tsx
index deebc85..ecbb885 100644
--- a/front/src/components/Points.tsx
+++ b/front/src/components/Points.tsx
@@ -7,9 +7,6 @@ type PointsProps = {
}
const styles = {
- container: {
- paddingBottom: 8,
- } as CSSProperties,
points: {
float: 'right',
} as CSSProperties,
@@ -22,18 +19,16 @@ const styles = {
function Points({ points }: PointsProps) {
return (
-
-
- Набрано очков:
-
-
- {points}
-
-
-
+
+ Набрано очков:
+
+
+ {points}
+
+
)
}
diff --git a/front/src/components/StoriesPreview.tsx b/front/src/components/StoriesPreview.tsx
index 306b71a..4bd6cf6 100644
--- a/front/src/components/StoriesPreview.tsx
+++ b/front/src/components/StoriesPreview.tsx
@@ -37,6 +37,7 @@ const styles = {
objectFit: 'contain',
borderRadius: 12,
marginBottom: 5,
+ maxWidth: 'inherit',
} as CSSProperties,
title: {
overflow: 'hidden',
diff --git a/front/src/pages/UserPage.tsx b/front/src/pages/UserPage.tsx
index 2ed6dba..7d9f198 100644
--- a/front/src/pages/UserPage.tsx
+++ b/front/src/pages/UserPage.tsx
@@ -26,15 +26,15 @@ function UserPage() {
-
+
+
-
Ваша оценка:
@@ -45,7 +45,9 @@ function UserPage() {
))}
-
+
)
}
diff --git a/front/src/styles/Poetry.module.css b/front/src/styles/Poetry.module.css
index a452425..8057f48 100644
--- a/front/src/styles/Poetry.module.css
+++ b/front/src/styles/Poetry.module.css
@@ -3,5 +3,5 @@
}
.text {
- white-space: 'pre-wrap';
+ white-space: pre-wrap;
}
\ No newline at end of file