changes how form elements are stretched to 100% width

Wed, 18 Aug 2021 16:02:40 +0200

author
Mike Becker <universe@uap-core.de>
date
Wed, 18 Aug 2021 16:02:40 +0200
changeset 230
95b419e054fa
parent 229
23f936582c46
child 231
dcb1d5a7ea3a

changes how form elements are stretched to 100% width

src/main/webapp/WEB-INF/jsp/issue-view.jsp file | annotate | diff | comparison | revisions
src/main/webapp/WEB-INF/jsp/site.jsp file | annotate | diff | comparison | revisions
src/main/webapp/lightpit.css file | annotate | diff | comparison | revisions
src/main/webapp/projects.css file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Wed Aug 18 15:51:13 2021 +0200
+++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Wed Aug 18 16:02:40 2021 +0200
@@ -81,13 +81,13 @@
     <tr>
         <th><fmt:message key="issue.category"/></th>
         <td>
-            <div class="issue-tag ${issue.category}" style="width: auto">
+            <div class="issue-tag ${issue.category}">
                 <fmt:message key="issue.category.${issue.category}" />
             </div>
         </td>
         <th><fmt:message key="issue.status"/></th>
         <td>
-            <div class="issue-tag phase-${issue.status.phase.number}" style="width: auto">
+            <div class="issue-tag phase-${issue.status.phase.number}">
                 <fmt:message key="issue.status.${issue.status}" />
             </div>
         </td>
--- a/src/main/webapp/WEB-INF/jsp/site.jsp	Wed Aug 18 15:51:13 2021 +0200
+++ b/src/main/webapp/WEB-INF/jsp/site.jsp	Wed Aug 18 16:02:40 2021 +0200
@@ -31,7 +31,7 @@
 <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
 
 <%-- Version suffix for forcing browsers to update the CSS / JS files --%>
-<c:set scope="page" var="versionSuffiuniversex" value="20210818"/>
+<c:set scope="page" var="versionSuffiuniversex" value="20210818b"/>
 
 <%-- Make the base href easily available at request scope --%>
 <c:set scope="page" var="baseHref" value="${requestScope[Constants.REQ_ATTR_BASE_HREF]}"/>
--- a/src/main/webapp/lightpit.css	Wed Aug 18 15:51:13 2021 +0200
+++ b/src/main/webapp/lightpit.css	Wed Aug 18 16:02:40 2021 +0200
@@ -237,19 +237,21 @@
 }
 
 table.formtable tbody td > * {
-    width: 100%;
     margin: 0;
     box-sizing: border-box;
 }
 
+table.formtable input[type=text],
+table.formtable input[type=number],
+table.formtable select,
+table.formtable textarea {
+    width: 100%;
+}
+
 table.formtable tfoot td {
     text-align: right;
 }
 
-input[type=checkbox] {
-    width: auto;
-}
-
 .fullwidth {
     width: 100%;
 }
--- a/src/main/webapp/projects.css	Wed Aug 18 15:51:13 2021 +0200
+++ b/src/main/webapp/projects.css	Wed Aug 18 16:02:40 2021 +0200
@@ -189,7 +189,3 @@
 table.issue-view th {
     white-space: nowrap;
 }
-
-#issue-eta {
-    width: auto;
-}

mercurial