Skip to content

Commit

Permalink
Center Modal
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Jul 9, 2018
1 parent 5e3b00d commit 8c008cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/css/grapes.min.css

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ module.exports = {
serviceWorker: false, // Enable Service Worker for offline usage
head: [
['link', { rel: 'icon', href: '/logo-icon.png' }],
['link', { rel: 'stylesheet', href: 'https://unpkg.com/grapesjs/dist/css/grapes.min.css' }], // dev https://localhost:8080/dist/css/grapes.min.css
//['link', { rel: 'stylesheet', href: 'https://unpkg.com/grapesjs/dist/css/grapes.min.css' }], // dev https://localhost:8080/dist/css/grapes.min.css
// ['script', { src: '/grapes.min.js' }], // dev https://localhost:8080/dist/grapes.min.js
['script', { src: 'https://localhost:8080/dist/grapes.min.js' }], // dev https://localhost:8080/dist/grapes.min.js
['link', { rel: 'stylesheet', href: 'https://localhost:8080/dist/css/grapes.min.css' }],
['script', { src: 'https://localhost:8080/dist/grapes.min.js' }],
],
localesSKIP: {
'/': {
Expand Down
5 changes: 3 additions & 2 deletions src/styles/scss/_gjs_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@
overflow-y: auto;
position: fixed;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 10;
z-index: 100;
}

&dialog {
text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.05);
animation: #{$app-prefix}slide-down 0.215s;
margin: 30px auto 0;
margin: auto;
max-width: 850px;
width: 90%;
border-radius: 3px;
Expand Down

0 comments on commit 8c008cb

Please sign in to comment.