From a6b7db3690362741f1ce2407cc617ee58ff102ec Mon Sep 17 00:00:00 2001
From: Bruno Nocera Zanette <brunonzanette@gmail.com>
Date: Tue, 9 Sep 2014 21:34:42 -0300
Subject: [PATCH] Alter action buttons's style to be fixed on screen

Alter action buttons's style to be fixed on screen
---
 src/main/webapp/WEB-INF/tags/form/fields/table.tagx | 6 ++++++
 src/main/webapp/styles/standard.css                 | 2 ++
 2 files changed, 8 insertions(+)

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 d9e7df1..bad1987 100644
--- a/src/main/webapp/WEB-INF/tags/form/fields/table.tagx
+++ b/src/main/webapp/WEB-INF/tags/form/fields/table.tagx
@@ -131,7 +131,10 @@
           </c:forTokens>
           
           <c:if test="${control}">
+          	
 	        <td rowspan="${fn:length(data)}" class="utilbox" valign="top">
+
+            <div class="utilbox-actions">
             
             <spring:url value="/resources/images/show.png" var="show_image_url" />
             <spring:message arguments="${typeName}" code="entity_show" var="show_label" htmlEscape="false" />
@@ -184,6 +187,9 @@
 		            </c:otherwise>
 	            </c:choose>
             </c:if>
+            
+            </div>
+            
             </td>
             <c:set var="control" value="false" />
     	  </c:if>
diff --git a/src/main/webapp/styles/standard.css b/src/main/webapp/styles/standard.css
index a1f2769..5d64e4f 100644
--- a/src/main/webapp/styles/standard.css
+++ b/src/main/webapp/styles/standard.css
@@ -325,6 +325,8 @@ table a:link {color: #303030;}
 
 .utilbox {width: 18px;}
 
+.utilbox-actions {position: fixed;}
+
 caption {
 	caption-side: top;
 	width: auto;
-- 
GitLab