Skip to content

Commit e542d4f

Browse files
authored
Merge pull request #51 from UW-Macrostrat/filter
Filter Updates
2 parents 8537cd4 + 2f7b751 commit e542d4f

File tree

6 files changed

+226
-160
lines changed

6 files changed

+226
-160
lines changed

pages/checkin/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function Checkins({checkinID}) {
4040
lng: checkin.lng
4141
}
4242

43-
let profile_pic = h(BlankImage, {src: getProfilePicUrl(checkin.person_id), className: "profile-picture"});
43+
let profile_pic = h('div.profile-header',h(BlankImage, {src: getProfilePicUrl(checkin.person_id), className: "profile-picture"}));
4444

4545
// format rating
4646
let ratingArr = [];

pages/checkin/main.sass

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ h1, p
7373
object-fit: cover
7474

7575
.stop-header
76-
display: grid
77-
grid-template-columns: 20% 80%
76+
display: flex
7877
margin: auto
7978
position: absolute
8079
z-index: 2
@@ -84,19 +83,23 @@ h1, p
8483
align-items: center
8584
cursor: pointer
8685

87-
.profile-picture
88-
height: 100px
89-
width: 100px
90-
display: grid
91-
margin: auto
92-
margin-left: 50px
93-
border-radius: 50%
86+
.profile-header
87+
flex: 1
88+
text-align: center
89+
90+
img
91+
height: 100px
92+
width: 100px
93+
border-radius: 50%
9494

9595
.stop-main-info
96+
flex: 3
97+
display: flex
98+
flex-direction: column
9699
text-align: left
97-
display: grid
98-
margin: auto
99-
margin-left: 0
100+
101+
h3
102+
margin: 0
100103

101104
.star
102105
height: 15px

0 commit comments

Comments
 (0)