Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transparent overlay for issue modal position right #59

Merged
merged 1 commit into from
Oct 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/board/column.vue
Original file line number Diff line number Diff line change
Expand Up @@ -232,14 +232,14 @@ export default {
position: fixed
top: 0
width: 100vw
z-index: 1
z-index: 3 // z-index: 2 on board/issue

.select-settings
overflow: hidden
position: absolute
right: 0
top: 32px
z-index: 2
z-index: 4

.item
cursor: pointer
Expand Down
2 changes: 2 additions & 0 deletions src/components/board/issue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export default {
border: 1px solid #E8EAF6
overflow: hidden
padding: 8px
position: relative
z-index: 2

&:not(.read-only)
cursor: pointer
Expand Down
4 changes: 2 additions & 2 deletions src/components/dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
position: absolute
text-align: left
width: 100%
z-index: 3 // z-index: 2 on the issue progress - https://github.com/agileseason/agileseason/issues/19
z-index: 4

.title
color: #fff
Expand All @@ -56,5 +56,5 @@ export default {
position: fixed
top: 0
width: 100vw
z-index: 1
z-index: 3 // z-index: 2 on board/issue
</style>
12 changes: 10 additions & 2 deletions src/components/modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@ export default {
position: fixed
top: 0
width: 100vw
z-index: 4
z-index: 3

.modal-overlay-blank
height: 100vh
left: 0
position: fixed
top: 0
width: 100vw
z-index: 1 // z-index: 2 on board/issue

.modal
background-color: #fff
Expand All @@ -33,7 +41,7 @@ export default {
position: absolute
top: 36px
width: 80%
z-index: 5
z-index: 4

transform: translate(-50%, 2000px)

Expand Down
4 changes: 4 additions & 0 deletions src/views/board.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
v-if='isLoaded && isModalRight'
v-show='isModalOpen'
>
<div
class='modal-overlay-blank'
@click.self='backToBoard'
/>
<router-view v-slot='{ Component }'>
<transition name='slide' :duration='200'>
<component :is='Component' />
Expand Down