Skip to content

Commit 65e7e62

Browse files
authored
Geofence modal style touchup (#1721)
* Fix oeth dapp spacing and rouge border line on ousd modal * Space adjustment * Fix styles
1 parent 47632da commit 65e7e62

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

dapp-oeth/src/components/GeoFenceCheck.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ const GeoFenceCheck = () => {
167167
line-height: 23px;
168168
letter-spacing: 0em;
169169
text-align: left;
170+
margin-bottom: 24px;
170171
}
171172
172173
.geofence-modal .info.sub {
@@ -179,7 +180,7 @@ const GeoFenceCheck = () => {
179180
}
180181
181182
.geofence-modal .accept-criteria {
182-
padding: 12px 24px 12px 24px;
183+
padding: 0;
183184
border-radius: 4px;
184185
background-color: #51546633;
185186
font-family: Inter;
@@ -191,7 +192,7 @@ const GeoFenceCheck = () => {
191192
}
192193
193194
.geofence-modal .accept-criteria .list {
194-
padding: 0 0 0 24px;
195+
padding: 24px 24px 24px 36px;
195196
margin: 0;
196197
}
197198
@@ -202,7 +203,7 @@ const GeoFenceCheck = () => {
202203
.geofence-modal .ack {
203204
display: inline-flex;
204205
align-items: center;
205-
margin: 18px 0;
206+
margin: 24px 0;
206207
}
207208
208209
.geofence-modal .ack .ack-label {
@@ -214,6 +215,7 @@ const GeoFenceCheck = () => {
214215
line-height: 20px;
215216
letter-spacing: 0em;
216217
text-align: left;
218+
margin: 0;
217219
}
218220
219221
.geofence-modal .ack .label-text {

dapp/src/components/GeoFenceCheck.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ const GeoFenceCheck = () => {
175175
}
176176
177177
.geofence-modal .accept-criteria {
178-
padding: 12px 24px 12px 24px;
178+
padding: 0;
179179
border-radius: 4px;
180180
background-color: #fafbfc;
181181
font-family: Lato;
@@ -187,7 +187,7 @@ const GeoFenceCheck = () => {
187187
}
188188
189189
.geofence-modal .accept-criteria .list {
190-
padding: 0 0 0 24px;
190+
padding: 24px 24px 24px 36px;
191191
margin: 0;
192192
}
193193
@@ -198,7 +198,7 @@ const GeoFenceCheck = () => {
198198
.geofence-modal .ack {
199199
display: inline-flex;
200200
align-items: center;
201-
margin: 18px 0;
201+
margin: 24px 0;
202202
}
203203
204204
.geofence-modal .ack .ack-label {
@@ -210,6 +210,7 @@ const GeoFenceCheck = () => {
210210
line-height: 20px;
211211
letter-spacing: 0em;
212212
text-align: left;
213+
margin: 0;
213214
}
214215
215216
.geofence-modal .ack .label-text {

dapp/styles/globals.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ section.dim {
424424

425425
.modal-content {
426426
background-color: transparent !important;
427+
border: none !important;
427428
}
428429

429430
@media (max-width: 992px) {

0 commit comments

Comments
 (0)