css: Apply font formatting to the text, not the high-level div

This makes it possible for plugins to add new items without them
rendering centered, at a ridiculous size, or at an awkward location.
This commit is contained in:
Richard Hansen 2020-11-27 22:37:59 -05:00 committed by John McLear
parent 27dab35827
commit 92b295193f
2 changed files with 18 additions and 8 deletions

View file

@ -92,12 +92,22 @@
<div id="editorloadingbox">
<div id="permissionDenied">
<p data-l10n-id="pad.permissionDenied">You do not have permission to access this pad</p>
<p data-l10n-id="pad.permissionDenied" class="editorloadingbox-message">
You do not have permission to access this pad
</p>
</div>
<% e.begin_block("loading"); %>
<p data-l10n-id="pad.loading" id="loading">Loading...</p>
<p data-l10n-id="pad.loading" id="loading" class="editorloadingbox-message">
Loading...
</p>
<% e.end_block(); %>
<noscript><strong>Sorry, you have to enable Javascript in order to use this.</strong></noscript>
<noscript>
<p class="editorloadingbox-message">
<strong>
Sorry, you have to enable Javascript in order to use this.
</strong>
</p>
</noscript>
</div>