Skip to content

Commit

Permalink
update styling template
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Costello committed Dec 21, 2023
1 parent fea5ef1 commit 0187c86
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions corehq/apps/cloudcare/templates/formplayer/case_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -244,19 +244,25 @@ <h1 aria-label="<%- title %>" tabindex="0" class="page-title"><%- title %></h1>
grid-area: <%- model.gridStyle %>;
font-size: <%- model.fontStyle %>;
text-align: <%- model.horizontalAlign %>;
<% if (!model.borderInTile) { %>
<% if (!model.borderInTile && !model.shadingInTile) { %>
justify-self: <%- model.horizontalAlign %>;
align-self: <%- model.verticalAlign %>;
<% } else { %>
<% if (model.showBorder) { %>
border: 1px solid #685c53;
<% if (model.showBorder || model.showShading) { %>
border-radius: 8px;
padding-top: 5px;
padding-bottom: 0px;
padding-left: 5px;
padding-right: 5px;
justify-self: stretch;
margin: 2px;
<% if (model.showBorder) { %>
border: 1px solid #685c53;
<% } %>
<% if (model.showShading) { %>
background-color: white;
z-index: -1;
<% } %>
<% } else { %>
margin: 7px;
justify-self: <%- model.horizontalAlign %>;
Expand Down

0 comments on commit 0187c86

Please sign in to comment.