From 34036a4b7a333609c25bc77479add45df793783c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Wed, 17 Aug 2016 01:43:46 -0400 Subject: [PATCH] Allow ourselves to have decent looking select elements in the settings --- client/css/style.css | 5 ++++- client/js/lounge.js | 2 +- client/themes/crypto.css | 4 ++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index e5036c7f..9d1d7225 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -581,10 +581,13 @@ button { outline: 0; padding: 8px 10px; transition: border-color .2s; - -webkit-appearance: none; width: 100%; } +#windows select.input { + height: 35px; +} + #user-specified-css-input { resize: vertical; } diff --git a/client/js/lounge.js b/client/js/lounge.js index 167ba0b3..edcde75b 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -493,7 +493,7 @@ $(function() { var highlights = []; - settings.on("change", "input, textarea", function() { + settings.on("change", "input, select, textarea", function() { var self = $(this); var name = self.attr("name"); diff --git a/client/themes/crypto.css b/client/themes/crypto.css index 3179c5a3..b4251dec 100644 --- a/client/themes/crypto.css +++ b/client/themes/crypto.css @@ -126,6 +126,10 @@ a:hover, font-size: 12px; } +#windows select.input { + height: 38px; +} + #footer .icon { color: #666; }