Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Tiny fix to editors #541

Merged
merged 5 commits into from
Jun 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/templates/modals/settings/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h2 class="h4 clrT"><%= ob.polyT('settings.pageTab.sectionAbout') %></h2>
<div class="flexRow gutterH">
<div class="col12">
<% if (ob.errors.about) print(ob.formErrorTmpl({ errors: ob.errors.about })) %>
<div contenteditable class="clrBr clrSh2" name="about" id="settingsAbout" placeholder="<%= ob.polyT('settings.pageTab.placeholderAbout') %>""><%= ob.about %></div>
<div contenteditable class="clrBr clrSh2" name="about" id="settingsAbout" placeholder="<%= ob.polyT('settings.pageTab.placeholderAbout') %>"><%= ob.about %></div>
<div class="clrT2 txSm padSm"><%= ob.polyT('settings.pageTab.helperAbout') %></div>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions styles/components/_form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ textarea,
}
}

.trumbowyg-editor {
line-height: 1.2em;
}

//input[type="number"].noSpin::-webkit-outer-spin-button,
input[type="number"].noSpin::-webkit-inner-spin-button {
display:none;
Expand Down