Skip to content

Commit

Permalink
SAM-3126 Improve the Honor Pledge formatting (sakaiproject#3809)
Browse files Browse the repository at this point in the history
Make sure the honor pledge is better formatted when the pledge
is long and wraps to multiple lines by ensuring the checkbox is
always to the left and the text is to the right of that checkbox.
  • Loading branch information
master-bob authored and ern committed Jan 27, 2017
1 parent 5466613 commit 36cd601
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions samigo/samigo-app/src/webapp/css/tool_sam.css
Original file line number Diff line number Diff line change
Expand Up @@ -1276,3 +1276,12 @@ input[type='reset'].linearButton {
{
margin-top: 10px;
}

.honor-container {
display: table-row;
}

.honor-container label {
display: table-cell;
padding-left: .5em;
}
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@
<h:panelGroup layout="block" styleClass="honor-container" rendered="#{delivery.honorPledge && delivery.firstTimeTaking}">
<h:selectBooleanCheckbox id="honor_pledge" />
<h:outputLabel for="honor_pledge" value="#{deliveryMessages.honor_pledge_detail}"/>
<h:outputText id="honorPledgeRequired" value="#{deliveryMessages.honor_required}" styleClass="alertMessage" style="display:none"/>
</h:panelGroup>
<h:outputText id="honorPledgeRequired" value="#{deliveryMessages.honor_required}" styleClass="alertMessage" style="display:none"/>


<p class="act">
Expand Down

0 comments on commit 36cd601

Please sign in to comment.