Skip to content
Snippets Groups Projects
Commit 9b7f1d92 authored by Olivia206's avatar Olivia206
Browse files

fix paper actions

parent 6aa31aa5
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,7 @@ class Modal {
});
window.addEventListener('click', (event) => {
console.log(this.element)
if (event.target === this.element) {
this.toggle(false);
}
......
......@@ -42,14 +42,14 @@
.paper-actions
@include media-breakpoint-up(lg)
flex-direction: row
width: columns(5)
button[data-open-modal]
width: columns(2)
figure
width: columns(3)
> div:first-of-type
width: columns(7)
.paper-actions
width: columns(5)
button[data-open-modal]
width: columns(2)
figure
width: columns(3)
.modal-content
width: columns(7)
.papers__page
@include media-breakpoint-down(desktop)
.document-content
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment