diff --git a/public/css/style.css b/public/css/style.css index ac3959d..695a1d9 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -102,8 +102,9 @@ section#auth input, section#auth a { } section#dashboard .table { font-size: 12px } -section#dashboard div#table div.column { display:flex; width: 200px; height: 200px; margin: 9px; background: #f9f9f9; overflow: hidden; align-items: center; } +section#dashboard div#table div.column { display:flex; width: 200px; height: 200px; margin: 9px; background: #f9f9f9; overflow: hidden; flex-wrap: wrap; align-items: center; } section#dashboard div#table div.column a { width: 100%; } +section#dashboard div#table div.column a:first-child { height: 180px; } section#dashboard div#table div.column a img { width:200px; } .select-wrapper { diff --git a/public/js/dashboard.js b/public/js/dashboard.js index a4de774..8afc89d 100644 --- a/public/js/dashboard.js +++ b/public/js/dashboard.js @@ -142,7 +142,7 @@ panel.getUploads = function(album = undefined, page = undefined){ var div = document.createElement('div'); div.className = "column is-2"; if(item.thumb !== undefined) - div.innerHTML = ``; + div.innerHTML = ``; else div.innerHTML = `

.${item.file.split('.').pop()}

`; table.appendChild(div);