Skip to content

Commit e7950d3

Browse files
committed
fix alignment of resource sharing form
1 parent 60fde3a commit e7950d3

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

β€Žbackend/.env

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
MONGO_DB_URL=<mongoDB_URL>
2-
JWT_SECRET_KEY=<JWT_sceret>
1+
MONGO_DB_URL=mongodb://127.0.0.1:27017/community-website
2+
JWT_SECRET_KEY=secret
33
JWT_EXPIRES_IN=6h
44
BASE_URL=https://community-website-backend.herokuapp.com
5-
EMAIL_USER=EMAIL_HERE
6-
EMAIL_PASS=PASSWORD_HERE
5+
6+
EMAIL_PASS=password
77
EMAIL_HOST=smtp.gmail.com
88
CLUSTER=no
99
JWT_RESET_PASSWORD_EXPIRES_IN=1h

β€Žfrontend/src/pages/Resources/components/ResourceSharingForm/resource-sharing-form.module.scss

+2-6
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@
8080

8181
.resource-input {
8282
position: relative;
83-
margin-bottom: 30px !important;
84-
width: 35rem;
83+
margin-bottom: 8px;
8584
}
8685

8786
.resource-input input,
@@ -218,11 +217,8 @@
218217
}
219218

220219
.inside-resource {
221-
display: flex;
222-
flex-direction: column;
223-
justify-content: center;
224-
align-items: center;
225220
width: 85%;
221+
margin: 0 auto;
226222
}
227223

228224
[type="radio"] {

0 commit comments

Comments
Β (0)