From fbbab6dcd9d4e2bf804a399ab0e05a3209e41e38 Mon Sep 17 00:00:00 2001 From: Bruno Nocera Zanette <brunonzanette@gmail.com> Date: Tue, 9 Sep 2014 23:08:13 -0300 Subject: [PATCH] Fix table style to avoid action-buttons overlap Fix table style to avoid action-buttons overlap --- .../webapp/WEB-INF/tags/form/fields/table.tagx | 6 +++--- src/main/webapp/styles/standard.css | 14 ++++++++++++-- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/main/webapp/WEB-INF/tags/form/fields/table.tagx b/src/main/webapp/WEB-INF/tags/form/fields/table.tagx index bad1987..9d6ac26 100644 --- a/src/main/webapp/WEB-INF/tags/form/fields/table.tagx +++ b/src/main/webapp/WEB-INF/tags/form/fields/table.tagx @@ -49,7 +49,7 @@ <spring:eval var="colCounter" expression="1" /> - <table> + <table class="table-with-utilbox"> <thead> <tr> <th></th> @@ -132,8 +132,8 @@ <c:if test="${control}"> - <td rowspan="${fn:length(data)}" class="utilbox" valign="top"> - + <td rowspan="${fn:length(data)}" class="utilbox" valign="top"> + <div class="utilbox-actions"> <spring:url value="/resources/images/show.png" var="show_image_url" /> diff --git a/src/main/webapp/styles/standard.css b/src/main/webapp/styles/standard.css index 5d64e4f..448309e 100644 --- a/src/main/webapp/styles/standard.css +++ b/src/main/webapp/styles/standard.css @@ -321,11 +321,21 @@ table thead { background-color: #09244D; } +table .footer { + font-weight: bold; + font-style: italic; +/* background-color: #BBBBBB; */ + background-color: #09244D; + height: 18px; +} + +.table-with-utilbox {min-height: 100px;} + table a:link {color: #303030;} -.utilbox {width: 18px;} +table .utilbox {width: 18px;} -.utilbox-actions {position: fixed;} +table .utilbox-actions {position: fixed;} caption { caption-side: top; -- GitLab