Skip to content

Commit 9cb2312

Browse files
committed
containers don't overflow from the page
1 parent 987c872 commit 9cb2312

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

backend/mydatabase

0 Bytes
Binary file not shown.

frontend/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/png" href="/src/assets/flicks_logo.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>Flicks</title>
8+
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">
89
</head>
910
<body>
1011
<div id="root"></div>
287 KB
Loading

frontend/src/assets/react.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

frontend/src/style/MovieReviews.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
padding: 25px;
4141
position: sticky;
4242
top: 2rem;
43-
height: calc(100vh - 4rem);
44-
overflow-y: auto;
43+
max-height: fit-content;
44+
overflow-y: visible;
4545
}
4646

4747
.daily-recommendation h2 {
@@ -125,7 +125,7 @@
125125
border: 1px solid #2a2a2a;
126126
border-radius: 16px;
127127
padding: 30px;
128-
height: calc(100vh - 4rem);
128+
max-height: fit-content;
129129
display: flex;
130130
flex-direction: column;
131131
position: sticky;
@@ -202,7 +202,7 @@
202202

203203
.reviews-list {
204204
flex: 1;
205-
overflow-y: auto;
205+
overflow-y: visible;
206206
margin: 0 -0.5rem;
207207
padding: 0 0.5rem;
208208
}

0 commit comments

Comments
 (0)