Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Give the result list from the autocompleter a maximum size

Roland Geiderc2ac9d333bb7
diff --git a/manager/static/css/workout-manager.css b/manager/static/css/workout-manager.css
index 11eadfd97..7d0f43b1c 100644
--- a/manager/static/css/workout-manager.css
+++ b/manager/static/css/workout-manager.css
@@ -249,3 +249,15 @@ ul.pagination a:hover
border: 1px solid #2e3436;
box-shadow: 0 0 4px #3465a4 inset;
}
+
+/*
+ *
+ * Give the result list from the autocompleter a maximum size
+ *
+ */
+.ui-autocomplete {
+ max-height: 500px;
+ max-width: 500px;
+ overflow-y: auto;
+ overflow-x: hidden; /* prevent horizontal scrollbar */
+}
\ No newline at end of file