updated CSS

This commit is contained in:
Francesco Mangiacrapa 2024-04-11 12:22:58 +02:00
parent 63816fe648
commit ed5b39d106
4 changed files with 10 additions and 4 deletions

View File

@ -12,8 +12,8 @@
border: 0px !important; border: 0px !important;
} }
.text-are-size { .text-are-size {
width: 80%; width: 80% !important;
height: 70px; height: 70px !important;
} }
</ui:style> </ui:style>
<g:HTMLPanel> <g:HTMLPanel>

View File

@ -76,6 +76,7 @@ public class ReportTemplateToHTML extends Composite {
boolean openJSONReport) { boolean openJSONReport) {
initWidget(uiBinder.createAndBindUi(this)); initWidget(uiBinder.createAndBindUi(this));
vpContainer.setVisible(false); vpContainer.setVisible(false);
vpContainer.setWidth("95%");
showReportAsJSON.setDefaultOpen(openJSONReport); showReportAsJSON.setDefaultOpen(openJSONReport);
showReportAsTable.setDefaultOpen(openTableReport); showReportAsTable.setDefaultOpen(openTableReport);

View File

@ -10,13 +10,17 @@
.margin-top-10 { .margin-top-10 {
margin-top: 10px; margin-top: 10px;
} }
.table-style {
margin-top: 10px;
width: 95%;
}
</ui:style> </ui:style>
<g:HTMLPanel> <g:HTMLPanel>
<g:VerticalPanel ui:field="vpContainer" <g:VerticalPanel ui:field="vpContainer"
addStyleNames="{style.margin-top-10}"> addStyleNames="{style.table-style}">
<b:Label ui:field="labelToReport">Report: </b:Label> <b:Label ui:field="labelToReport">Report: </b:Label>
<g:VerticalPanel ui:field="htmlContainer" <g:VerticalPanel ui:field="htmlContainer"
addStyleNames="{style.margin-top-10}"></g:VerticalPanel> addStyleNames="{style.table-style}"></g:VerticalPanel>
<b:AccordionGroup heading="Show as Table" <b:AccordionGroup heading="Show as Table"
ui:field="showReportAsTable"> ui:field="showReportAsTable">
<b:Paragraph ui:field="reportTable"></b:Paragraph> <b:Paragraph ui:field="reportTable"></b:Paragraph>

View File

@ -49,6 +49,7 @@ h1 {
margin-left: 10px; margin-left: 10px;
margin-bottom: 10px; margin-bottom: 10px;
margin-right: 5px; margin-right: 5px;
width: 100%;
} }
.my-html-table td { .my-html-table td {