Skip to content

Commit

Permalink
Merge pull request #21 from ms-club-sliit/development
Browse files Browse the repository at this point in the history
Merge Development branch into Main Branch
  • Loading branch information
senuravihanjayadeva committed Nov 27, 2021
2 parents e6e8d5f + 7351c4e commit e8c9120
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
Binary file modified public/assets/boards/2020/dinuwan.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/nav_bar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const NavBar: React.FC = () => {

const resizeLogoOnScroll = () => {
const distanceY = window.pageYOffset || document.documentElement.scrollTop,
shrinkOn: number = 200,
shrinkOn: number = 5,
headerEl: any = document.getElementById('header');

if (distanceY > shrinkOn) {
Expand Down
4 changes: 2 additions & 2 deletions src/pages/board/board-by-year.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const BoardByYear: React.FC = () => {
</span>
<div className="d-flex">
{boardList.map((board) => (
<div className="mb-4">
<div className="mb-4" key={board.id}>
<button
type="button"
className="button btn text-center"
Expand All @@ -54,7 +54,7 @@ const BoardByYear: React.FC = () => {
<div className="col-md-12">
<div className="row">
{boardMemberList.map((member) => (
<div className="col d-flex justify-content-center">
<div className="col d-flex justify-content-center" key={member.id}>
<BoardMemberCard
id={member.id}
image={member.image}
Expand Down
24 changes: 12 additions & 12 deletions src/styles/board.scss
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
}

@include media('>=smalldesktop', '<desktop') {
width: 18rem;
width: 15rem;

.link {
width: 20px;
Expand All @@ -217,8 +217,8 @@
}

.profile-picture {
width: 18rem;
height: 18rem;
width: 15rem;
height: 15rem;
}

.position {
Expand All @@ -227,7 +227,7 @@
}

@include media(">=desktop", '<largedesktop') {
width: 20rem;
width: 15rem;

.link {
width: 20px;
Expand All @@ -238,8 +238,8 @@
}

.profile-picture {
width: 20rem;
height: 20rem;
width: 15rem;
height: 15rem;
}

.position {
Expand All @@ -248,23 +248,23 @@
}

@include media('>=largedesktop') {
width: 20rem;
width: 15rem;

.link {
width: 20px;
width: 18px;
}

.name {
font-size: 24px;
font-size: 20px;
}

.profile-picture {
width: 20rem;
height: 20rem;
width: 15rem;
height: 15rem;
}

.position {
font-size: 20px;
font-size: 18px;
}
}
}
4 changes: 0 additions & 4 deletions src/styles/contactus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,6 @@
}
}

.contact-us-form {
width: 65%;
}

.contact-us-label-text {
font-size: 20px;
}
Expand Down

0 comments on commit e8c9120

Please sign in to comment.