Skip to content

Commit 679878a

Browse files
committed
fix: accordion styles now locked
1 parent 6295330 commit 679878a

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Building Netflix from Scratch Using React (Custom Hooks, Context, Portals), Firebase, Compound & Styled Components (http://bit.ly/CognitiveSurge)
1+
## Building Netflix from Scratch Using React (Custom Hooks, Context, Portals), Firebase, Compound & Styled Components (10 Hour Tutorial Here: https://www.youtube.com/watch?v=x_EEwGe-a9o)
22

33
This application (a Netflix clone) was built using React (Custom Hooks, Context), Firebase & Styled Components. I have built the following pages within this application: sign in, sign up, browse & lastly the homepage. There are four different pages, some using protected routes with auth listeners. Firebase firestore handles all the data and that data is retrieved using a custom hook; authentication is used on all pages, which is handled by Firebase as well.
44

src/components/accordion/styles/accordion.js

+2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ export const Title = styled.h1`
3333
export const Item = styled.div`
3434
color: white;
3535
margin-bottom: 10px;
36+
margin: auto;
3637
max-width: 670px;
38+
width: 100%;
3739
3840
&:first-of-type {
3941
margin-top: 3em;

yarn.lock

+10-12
Original file line numberDiff line numberDiff line change
@@ -4122,7 +4122,7 @@ debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
41224122
dependencies:
41234123
ms "^2.1.1"
41244124

4125-
debug@^3.0.0, debug@^3.1.1, debug@^3.2.5:
4125+
debug@^3.1.1, debug@^3.2.5:
41264126
version "3.2.6"
41274127
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
41284128
integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
@@ -5048,9 +5048,9 @@ event-target-shim@^5.0.0:
50485048
integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==
50495049

50505050
eventemitter3@^4.0.0:
5051-
version "4.0.0"
5052-
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.0.tgz#d65176163887ee59f386d64c82610b696a4a74eb"
5053-
integrity sha512-qerSRB0p+UDEssxTtm6EDKcE7W4OaoisfIMl4CngyEhjpYglocpNg6UEqCvemdGhosAsg4sO2dXJOdyBifPGCg==
5051+
version "4.0.7"
5052+
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
5053+
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
50545054

50555055
events@^3.0.0:
50565056
version "3.1.0"
@@ -5446,11 +5446,9 @@ flush-write-stream@^1.0.0:
54465446
readable-stream "^2.3.6"
54475447

54485448
follow-redirects@^1.0.0:
5449-
version "1.10.0"
5450-
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.10.0.tgz#01f5263aee921c6a54fb91667f08f4155ce169eb"
5451-
integrity sha512-4eyLK6s6lH32nOvLLwlIOnr9zrL8Sm+OvW4pVTJNoXeGzYIkHVf+pADQi+OJ0E67hiuSLezPVPyBcIZO50TmmQ==
5452-
dependencies:
5453-
debug "^3.0.0"
5449+
version "1.13.0"
5450+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db"
5451+
integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA==
54545452

54555453
for-in@^0.1.3:
54565454
version "0.1.8"
@@ -6070,9 +6068,9 @@ [email protected]:
60706068
micromatch "^3.1.10"
60716069

60726070
http-proxy@^1.17.0:
6073-
version "1.18.0"
6074-
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.0.tgz#dbe55f63e75a347db7f3d99974f2692a314a6a3a"
6075-
integrity sha512-84I2iJM/n1d4Hdgc6y2+qY5mDaz2PUVjlg9znE9byl+q0uC3DeByqBGReQu5tpLK0TAqTIXScRUV+dg7+bUPpQ==
6071+
version "1.18.1"
6072+
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549"
6073+
integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==
60766074
dependencies:
60776075
eventemitter3 "^4.0.0"
60786076
follow-redirects "^1.0.0"

0 commit comments

Comments
 (0)