Skip to content

Commit

Permalink
Align club announcements with members
Browse files Browse the repository at this point in the history
  • Loading branch information
Trentiumz committed Oct 13, 2023
1 parent 8b1e787 commit 379d37a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/components/clubs/details/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ export const ClubDetails = (): JSX.Element => {
)
}

const postStyle = {
height: "inherit",
overflow: "scroll",
maxHeight: "50em",
padding: "5px",
}

return (
<>
<link rel="stylesheet" href="/resources/static/css/detail.css" />
Expand Down Expand Up @@ -146,7 +139,7 @@ export const ClubDetails = (): JSX.Element => {
</div>
<div className="row club-info">
<div className="col m8">
<div className="description">
<div className="description" style={{marginTop: '1em'}}>
{club.bio}
<br /><br />
{
Expand All @@ -169,7 +162,7 @@ export const ClubDetails = (): JSX.Element => {
</div>
</div>

<div className="row">
<div className="row" style={{display: 'flex', alignItems: 'stretch'}}>
<div className="col m4 s12">
<section id="executives">
<h4>
Expand Down Expand Up @@ -223,16 +216,23 @@ export const ClubDetails = (): JSX.Element => {
</div>
</section>
</div>
<div className="col m8 s12">
<div className="col m8 s12" style={{display: 'flex', flexDirection: 'column'}}>
<section id="AnnouncementHeading">
<h4>
Announcements
</h4>
<hr />
</section>
<section style={postStyle}>
<ClubAnnouncements orgID={club.id}></ClubAnnouncements>
</section>
<div style={{position: 'relative', flexGrow: '1'}}>
<section style={{
position: 'absolute',
inset: '0',
overflow: "scroll",
padding: "5px",
}}>
<ClubAnnouncements orgID={club.id}></ClubAnnouncements>
</section>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 379d37a

Please sign in to comment.