mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-06 00:48:46 -04:00
Style template length message to sit inline
This looks tidy, and because of the sticky footer it means the message is always visible, even if your template is quite long. So no matter where you’re scrolled to in the template you don’t have to scroll to the bottom to see the count update.
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
</div>
|
||||
<div class="govuk-grid-column-full">
|
||||
<div class="js-stick-at-bottom-when-scrolling">
|
||||
{{ page_footer('Save') }}
|
||||
<span class="template-list-selected-counter">
|
||||
{{ page_footer('Save', inline_block=True) }}
|
||||
<span class="template-content-count">
|
||||
<div data-module="update-status" data-target="template_content" data-updates-url="{{ url_for('.count_content_length', service_id=current_service.id, template_type='sms') }}" aria-live="polite">
|
||||
</div>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user