Self hosted FLOSS fitness/workout, nutrition and weight tracker
Change the widths of form elements, since most are edited in a JQuery window
Roland Geider784705f010f2
diff --git a/manager/static/css/yaml401/custom-yaml.css b/manager/static/css/yaml401/custom-yaml.cssindex 11bb8a320..1808241c6 100644--- a/manager/static/css/yaml401/custom-yaml.css+++ b/manager/static/css/yaml401/custom-yaml.css@@ -47,6 +47,15 @@ a {background: #ef2929;}+/*+ * Set the width of form elements to 100%+ *+ * Most forms will be edited on a JQuery dialog window and this makes it more readable+ */+.ym-form input, .ym-form input, .ym-form textarea, .ym-form select {+ width: 100%;+}+/** Own classes*/diff --git a/manager/static/js/workout-manager.js b/manager/static/js/workout-manager.jsindex 0d83be78d..b0924ea81 100644--- a/manager/static/js/workout-manager.js+++ b/manager/static/js/workout-manager.js@@ -156,7 +156,9 @@ function init_tinymce () {tinyMCE.init({// General optionsmode : "textareas",- theme : "simple"+ theme : "simple",+ width : "100%",+ height : "200"});}}