-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(story-timeslider): add timeslider to stories (#640)
* feat(story-timeslider): add timeslider to stories * feat(story-timeslider): resizing, move layer description on mobile * refactor(story-timeslider): remove comments
- Loading branch information
1 parent
ef14eaa
commit e7f7bec
Showing
5 changed files
with
69 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 10 additions & 4 deletions
14
src/scripts/components/stories/layer-description/layer-description.styl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
@require '../../../../variables.styl' | ||
|
||
.layerDescription | ||
position: absolute | ||
right: 0 | ||
bottom: 0 | ||
padding: emCalc(40px) emCalc(75px) | ||
overflow-y: auto | ||
margin: remCalc(15px) remCalc(25px) | ||
height: 50px | ||
color: $textDefault | ||
text-align: center | ||
font-size: 11px | ||
font-family: NotesEsaBold | ||
|
||
@media screen and (max-width: 480px) | ||
.layerDescription | ||
position: absolute | ||
top: 0 | ||
left: 0 | ||
height: 40px |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters