Skip to content

Commit

Permalink
Horizontal scrolling on delivery activity modal #209
Browse files Browse the repository at this point in the history
  • Loading branch information
juantenesaca committed Sep 8, 2020
1 parent c252eba commit 041d837
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 1,737 deletions.
6 changes: 6 additions & 0 deletions SELI-Platform/client/stylesheet/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,9 @@
color: #757575 !important;
fill: #757575 !important;
}

@media only screen and (max-width: 1080px) {
.editor-link-form-container {
width: calc(100% - 3vw);
}
}
9 changes: 5 additions & 4 deletions SELI-Platform/client/stylesheet/item.css
Original file line number Diff line number Diff line change
Expand Up @@ -453,10 +453,12 @@
}

.item-quiz-panel {
width: 100%;
background-color: transparent !important;
}

.activity-parent-panel {
width: 100%;
background-color: transparent !important;
}

Expand All @@ -483,9 +485,8 @@

.item-quiz-detail-container {
position: relative;
width: 88%;
left: 5vw;
padding: 2.5vh 0;
width: calc(100% - 2vw);
padding: 2.5vh 1vw;
}

.item-quiz-detail {
Expand Down Expand Up @@ -532,7 +533,7 @@
}

.activity-item-container-instruction {
width: 100%;
width: calc(100% - 5%);
padding: 1.5vh 2.5%;
color: #616161;
}
Expand Down
4 changes: 3 additions & 1 deletion SELI-Platform/client/stylesheet/storytelling.css
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,8 @@
display: flex !important;
position: relative !important;
align-items: center !important;
width: 40vw !important;
min-width: 18vw;
width: calc(100% - 2vw) !important;
margin-top: 1vh !important;
padding: 1.5vh 1vw !important;
transition: 0.5s !important;
Expand Down Expand Up @@ -434,6 +435,7 @@
font-size: 0.95em;
margin-left: 0.5vw;
color: #333;
margin-right: 35px;
}

.story-item-text-secondary {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ export default class ActivityItem extends React.Component {
return(
<Paper
onClick={() => this.selectStory(story._id, story.activity.name)}
elevation={story._id === this.state.storySelected ? 5 : 1}
elevation={story._id === this.state.storySelected ? 6 : 1.5}
className="story-item-container"
>
<LibraryBooksIcon className="story-item-icon"/>
Expand Down
Loading

0 comments on commit 041d837

Please sign in to comment.