Skip to content

Commit

Permalink
ux tweaks & netlify (#7)
Browse files Browse the repository at this point in the history
* no more github pages

* netlify fixes
  • Loading branch information
TheMarstonConnell authored Feb 15, 2024
1 parent 7dd580e commit 5f1b4bc
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 65 deletions.
50 changes: 0 additions & 50 deletions .github/workflows/deploy.yml

This file was deleted.

2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'wasm-unsafe-eval' 'unsafe-inline' chrome-extension: https://netlify-rum.netlify.app; connect-src 'self' https:; object-src 'self' https:; media-src 'self' https:; frame-src 'self' https:;"
Content-Security-Policy = "default-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' 'wasm-unsafe-eval' 'unsafe-inline' chrome-extension: https://netlify-rum.netlify.app; connect-src 'self' https:; object-src 'self' https:; media-src 'self' https:; frame-src 'self' https:; img-src 'self' https: data:;"
X-Content-Type-Options = "nosniff"
Referrer-Policy = "same-origin"
Permissions-Policy = ""
1 change: 1 addition & 0 deletions src/assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ button:focus-visible {
.template-container {
flex-grow: 1;
background-color: #fafafa;
overflow-y: scroll;
}

h1 {
Expand Down
3 changes: 2 additions & 1 deletion src/components/DraftDocuments.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
}
.file-card {
border-radius: 4px 4px 0px 4px;
//border-radius: 4px 4px 0px 4px;
align-items: flex-start;
flex-direction: column;
display: flex;
Expand Down Expand Up @@ -202,6 +202,7 @@
width: 40vw;
max-width: 432px;
height: 20vh;
min-height: 200px;
position: absolute;
top: 50vh;
left: 50vw;
Expand Down
10 changes: 5 additions & 5 deletions src/config/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ export const navItems: INavOption[] = [
desc: '',
path: '/editor'
},
{
label: 'Settings',
desc: '',
path: '/settings'
},
// {
// label: 'Settings',
// desc: '',
// path: '/settings'
// },

]
4 changes: 1 addition & 3 deletions src/views/DraftEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
<span id="wallet-alert">Connect wallet to edit</span>
</div>
</section>
<aside>
<div class="folder-placeholder"></div>
</aside>
</main>
</div>
</div>
Expand Down Expand Up @@ -80,6 +77,7 @@
.main-container {
height: 100%;
min-width: 70vw;
max-width: 70vw;
margin: 0px auto;
flex-grow: 1;
flex-basis: auto;
Expand Down
7 changes: 2 additions & 5 deletions src/views/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
padding: 0px 60px;
height: 100%;
background-color: #fff;
overflow-y: scroll;
}
@media screen and (min-width: 800px) {
Expand All @@ -148,15 +149,11 @@
}
}
@media screen and (min-width: 1100px) {
#article-section {
width: 50%;
}
}
#article {
text-align: left;
padding-top: 40px;
padding-bottom: 20px;
img {
width: 100% !important;
Expand Down

0 comments on commit 5f1b4bc

Please sign in to comment.