From 411802588efa8c97bf5b86139eba5cf631c89194 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 8 Jun 2023 07:07:08 +0300 Subject: [PATCH] minor cosmetic hanges to award note --- files/assets/css/main.css | 16 ++++++++++++++++ files/assets/js/award_modal.js | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/files/assets/css/main.css b/files/assets/css/main.css index 291a5b0dbd..8d414ee75d 100644 --- a/files/assets/css/main.css +++ b/files/assets/css/main.css @@ -7221,6 +7221,22 @@ input[type=number] { #note { min-height: 60px; } +#notelabel { + font-size: 16px; +} + +@media (max-width: 767.98px) { + #note, #notelabel { + font-size: 14px !important; + } +} + +@media (max-width: 394px) { + #note { + min-height: 80px; + } +} + .collapsed .showmore-text { diff --git a/files/assets/js/award_modal.js b/files/assets/js/award_modal.js index e84cd0cfde..9a2fff6ef2 100644 --- a/files/assets/js/award_modal.js +++ b/files/assets/js/award_modal.js @@ -130,12 +130,12 @@ function pick(kind, price, coins, marseybux) { if (kind == "flairlock") { document.getElementById('notelabel').innerHTML = "New flair:"; - document.getElementById('note').placeholder = "Insert new flair here, or leave empty to add 1 day to the duration of the current flair. 100 characters max."; + document.getElementById('note').placeholder = "Insert new flair here, or leave empty to add 1 day to the duration of the current flair."; document.getElementById('note').maxLength = 100; } else if (kind == "namelock") { document.getElementById('notelabel').innerHTML = "New username:"; - document.getElementById('note').placeholder = "Insert new username here, or leave empty to add 1 day to the duration of the current username. 25 characters max."; + document.getElementById('note').placeholder = "Insert new username here, or leave empty to add 1 day to the duration of the current username."; document.getElementById('note').maxLength = 25; } else {