app: cosmetic: Rename a CSS style class in app header

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2020-02-18 12:23:18 -08:00 committed by James Valleroy
parent d99fd41fff
commit 55bee19963
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
3 changed files with 8 additions and 8 deletions

View File

@ -80,7 +80,7 @@ def set_language(browser, language_code):
def check_language(browser, language_code): def check_language(browser, language_code):
nav_to_module(browser, 'config') nav_to_module(browser, 'config')
return browser.find_by_css('.header-bar').first.find_by_tag( return browser.find_by_css('.app-titles').first.find_by_tag(
'h2').first.value == config_page_title_language_map[language_code] 'h2').first.value == config_page_title_language_map[language_code]

View File

@ -15,7 +15,7 @@
{% endif %} {% endif %}
<section class="app-description" > <section class="app-description" >
<section class='header-bar'> <section class='app-titles'>
{% block pagetitle %} {% block pagetitle %}
{% if setup %} {% if setup %}
<h2>{% trans "Installation" %}: {{ app_info.short_description|default:'' }} ({{ app_info.name }})</h2> <h2>{% trans "Installation" %}: {{ app_info.short_description|default:'' }} ({{ app_info.name }})</h2>

View File

@ -558,13 +558,13 @@ a.menu_link_active {
grid-column: 1; grid-column: 1;
} }
.header-bar { .app-titles {
display: flex; display: flex;
flex-flow: row; flex-flow: row;
justify-content: space-between; justify-content: space-between;
} }
.header-bar .app-toggle-container, .app-titles .app-toggle-container {
margin: auto 0; margin: auto 0;
} }
@ -586,22 +586,22 @@ a.menu_link_active {
margin-top: 0; margin-top: 0;
} }
.header-bar { .app-titles {
display: flex; display: flex;
flex-flow: column-reverse; flex-flow: column-reverse;
justify-content: center; justify-content: center;
height: auto; height: auto;
} }
.header-bar h2 { .app-titles h2 {
margin: 0 0 15px 0; margin: 0 0 15px 0;
} }
.header-bar .app-toggle-container { .app-titles .app-toggle-container {
margin: 30px auto; margin: 30px auto;
} }
.header-bar .toggle-button { .app-titles .toggle-button {
transform: scale(1.2); transform: scale(1.2);
} }
} }