Skip to content

Commit

Permalink
fix: fix submission stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
SpikeHD committed Dec 20, 2023
1 parent 5cbe285 commit 0522b07
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/dialogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ document.addEventListener('DOMContentLoaded', () => {
})

submissionClose.addEventListener('click', () => {
closeModal('submission-dialog')
closeModal('list-dialog')
})

submissionCreate.addEventListener('click', () => {
Expand Down
1 change: 1 addition & 0 deletions src/util/submissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export async function loadSubmissions() {
const elm = document.createElement('a')
elm.classList.add('submission-row')
elm.href = `?id=${value.playlist_id}&name=${key}`
elm.target = '_blank'

const title = document.createElement('div')
title.classList.add('submission-cell')
Expand Down
2 changes: 2 additions & 0 deletions styles/submissions.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
flex-direction: row;
font-weight: bold;
font-size: 1.2em;

border-bottom: 3px solid #fff;
}

.submission-body {
Expand Down

0 comments on commit 0522b07

Please sign in to comment.