Skip to content

Commit

Permalink
Merge pull request #59 from 001elijah/bugfix
Browse files Browse the repository at this point in the history
Bugfix
  • Loading branch information
001elijah committed Jun 29, 2023
2 parents 7f8a3ee + 3663154 commit edab95e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/components/BoardItem/BoardItem.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
cursor: pointer;
display: flex;
align-items: center;
scroll-snap-align: start;

&:hover .iconProject {
transform: rotate(1turn);
Expand Down
8 changes: 6 additions & 2 deletions src/components/BoardList/BoardList.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@
width: 100%;
margin-top: 40px;
margin-bottom: 40px;
overflow-x: auto;
scrollbar-width: thin;
overflow-y: auto;
display: flex;
flex-direction: column;
scroll-snap-type: y mandatory;

@include tablet {
max-height: calc(100vh - 655px);
}
@include desktop {
max-height: calc(100vh - 654px);
}

&::-webkit-scrollbar {
width: 0;
}
}
1 change: 1 addition & 0 deletions src/components/Loader/Loader.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
position: absolute;
left: 50%;
top: 50%;
z-index: 2023;

.tri {
position: absolute;
Expand Down
4 changes: 1 addition & 3 deletions src/components/MainBoard/MainBoard.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export const Wrapper = styled.div(props => {
padding-left: 20px;
padding-right: 20px;
height: calc(100vh - 61px);
height: calc(100vh - 61px);
background-color: ${props.colorbg};
`;
const notExpandedStyles = `
Expand Down Expand Up @@ -38,7 +37,7 @@ export const Wrapper = styled.div(props => {
@media screen and (min-width: 1280px) {
width: calc(100vw - 260px);
height: calc(100% - 76px);
height: calc(100% - 68px);
padding-left: 24px;
padding-right: 24px;
background-image: url(${props.imgurl?.desktopUrl_1x});
Expand Down Expand Up @@ -102,7 +101,6 @@ export const Wrappers = styled.div`
@media screen and (min-width: 1280px) {
width: calc(100vw - 260px);
height: calc(100vh - 76px);
padding-left: 24px;
padding-right: 24px;
${props =>
Expand Down
1 change: 1 addition & 0 deletions src/components/TaskCard/TaskCard.module.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import '../../assets/styles/vars';

.cardWrapper {
scroll-snap-align: start;
position: relative;
padding: 14px 21px;
width: 335px;
Expand Down
14 changes: 10 additions & 4 deletions src/components/TaskColumn/TaskColumn.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
@import '../../assets/styles/mixins';

.taskCardListLight {
margin-bottom: 14px;
margin-bottom: 10px;
overflow-y: auto;
overflow-x: hidden;
scroll-snap-type: y mandatory;
max-height: calc(100vh - 280px);

&::-webkit-scrollbar {
Expand All @@ -24,7 +26,7 @@
}

@include tablet {
max-height: calc(100vh - 290px);
max-height: calc(100vh - 303px);
}

@include desktop {
Expand All @@ -34,6 +36,8 @@
.taskCardListDark {
margin-bottom: 10px;
overflow-y: auto;
overflow-x: hidden;
scroll-snap-type: y mandatory;
max-height: calc(100vh - 280px);

&::-webkit-scrollbar {
Expand All @@ -54,7 +58,7 @@
}

@include tablet {
max-height: calc(100vh - 290px);
max-height: calc(100vh - 303px);
}

@include desktop {
Expand All @@ -64,6 +68,8 @@
.taskCardListColorful {
margin-bottom: 10px;
overflow-y: auto;
overflow-x: hidden;
scroll-snap-type: y mandatory;
max-height: calc(100vh - 280px);

&::-webkit-scrollbar {
Expand All @@ -84,7 +90,7 @@
}

@include tablet {
max-height: calc(100vh - 290px);
max-height: calc(100vh - 303px);
}

@include desktop {
Expand Down

0 comments on commit edab95e

Please sign in to comment.