diff options
Diffstat (limited to 'profile')
-rw-r--r-- | profile/index.js | 1 | ||||
-rw-r--r-- | profile/public/style.css | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/profile/index.js b/profile/index.js index 3240c77..63bb2ec 100644 --- a/profile/index.js +++ b/profile/index.js @@ -99,7 +99,6 @@ async function answerImage(req, res) { await db.query("INSERT INTO profile_answers (answer, question_id, user_id) VALUE (?,?,?)", params); } catch (e) { if (e.code === "ER_DUP_ENTRY") { - console.log("Image already in db!"); return res.json({ success: true }); } else { console.error(e); diff --git a/profile/public/style.css b/profile/public/style.css index 1fc5a9d..c7c8edb 100644 --- a/profile/public/style.css +++ b/profile/public/style.css @@ -35,8 +35,8 @@ select { } img { - max-width: 80%; - max-height: 80%; + max-width: 50%; + max-height: 50%; } @media only screen and (max-width: 600px) { @@ -140,6 +140,7 @@ img { position: absolute; display: none; max-width: 600px; + max-height: 600px; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); |