From 12de3572a268a934f309c8c412761937304531b0 Mon Sep 17 00:00:00 2001
From: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
Date: Wed, 10 Jul 2019 10:25:29 +0200
Subject: [PATCH] max height of mensa panel table

---
 panels/mensaPlan/style.css  | 13 ++++++++-----
 panels/mensaPlan/style.less |  6 ++++++
 2 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/panels/mensaPlan/style.css b/panels/mensaPlan/style.css
index 716db2e..cd95901 100644
--- a/panels/mensaPlan/style.css
+++ b/panels/mensaPlan/style.css
@@ -1,19 +1,22 @@
 /* Table */
-.ui-widget-header {
+div[data-template=mensaPlan] .ui-widget-header {
   background-color: #e8e8e8;
   background: #e8e8e8;
   color: #000000;
 }
-#mensaPlanTitleBar {
+div[data-template=mensaPlan] #mensaPlanTitleBar {
   text-align: center;
 }
-.mensaPlanTable {
+div[data-template=mensaPlan] .mensaPlanTable {
   font-weight: bold;
 }
-.mensaPlanTable td {
+div[data-template=mensaPlan] .mensaPlanTable td {
   border-bottom: solid 2px black;
 }
-.mensaPlanTable tbody {
+div[data-template=mensaPlan] .mensaPlanTable tbody {
   background-color: #ffffff;
   color: #000000;
 }
+div[data-template=mensaPlan] #tabs {
+  height: 100%;
+}
diff --git a/panels/mensaPlan/style.less b/panels/mensaPlan/style.less
index e855a04..4bf871e 100644
--- a/panels/mensaPlan/style.less
+++ b/panels/mensaPlan/style.less
@@ -1,5 +1,6 @@
 /* Table */
 
+div[data-template=mensaPlan] {
 .ui-widget-header {
 	background-color: #e8e8e8;
 	background: #e8e8e8;
@@ -20,3 +21,8 @@
 		color: #000000;
 	}
 }
+
+#tabs {
+height: 100%;
+}
+}
-- 
GitLab