Skip to content

Commit

Permalink
Merge pull request #41 from ami-day/moving-text-on-components
Browse files Browse the repository at this point in the history
fixed-content
  • Loading branch information
Emily-RC authored Oct 25, 2023
2 parents 0a94eea + 89c36b6 commit bf9da6d
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 8 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/upcomingevents/BookLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ const BookLabel = ({ session }) => {
{session ? (
<div>
<div>
<h3>Title: {bookIdToTitle(session.chosen_book)}</h3>
<h3 className="sessions-font">Title: {bookIdToTitle(session.chosen_book)}</h3>
</div>
<div>
<h3>Author: {bookIdToAuthors(session.chosen_book)}</h3>
<h3 className="sessions-font">Author: {bookIdToAuthors(session.chosen_book)}</h3>
</div>
<div>
<h3>
<h3 className="sessions-font">
Year Published: {bookIdToYearPublished(session.chosen_book)}
</h3>
</div>
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/components/upcomingevents/SessionLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ const SessionLabel = ({ session, membersAttending }) => {
<div className="upcoming-session-information">
{session ? (
<div>
<h3>Date: {session.date}</h3>
<h3>Location: {session.location}</h3>
<div className="members-attending">
<h3 className="sessions-font">Date: {session.date}</h3>
<h3 className="sessions-font">Location: {session.location}</h3>
<div className="members-attending sessions-font">
Members Attending: {membersAttending}
</div>
</div>
Expand Down
22 changes: 21 additions & 1 deletion frontend/src/components/upcomingevents/booklabel.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
width: 451px;
}

.label .how-innovation-works {
.label .how-innovation-works {
color: #000000;
font-family: "Roboto-Bold", Helvetica;
font-size: 25px;
Expand All @@ -13,4 +13,24 @@
width: 451px;
}

.sessions-font {

color: #000000;
font-family: "Roboto-Bold", Helvetica;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.7px;
margin-left: 40px;
margin-top: 60px;
width: 200px;

}

.upcoming-bookclub-book-information {

text-align: center;
display: grid;
align-items: center;

}

5 changes: 5 additions & 0 deletions frontend/src/components/upcomingevents/box.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.box {
height: 293px;
width: 586px;
display: grid;
align-items: center;
}

.box .book-information {
Expand All @@ -9,4 +11,7 @@
position: fixed;
top: 0;
width: 586px;
display: grid;
align-items: center;
justify-content: center;
}
15 changes: 14 additions & 1 deletion frontend/src/components/upcomingevents/sessionlabel.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,17 @@
line-height: 52.5px;
width: 472px;
}



.sessions-font {

color: #000000;
font-family: "Roboto-Bold", Helvetica;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.7px;
margin-left: 40px;
margin-top: 60px;
width: 200px;

}

0 comments on commit bf9da6d

Please sign in to comment.