Fix CSS issues label printer and label templates and setting pages [SCI-8371]

This commit is contained in:
sboursen-scinote 2023-05-09 11:20:53 +02:00
parent 783d5d03ab
commit 1624941c03
4 changed files with 9 additions and 5 deletions

View file

@ -94,8 +94,7 @@
}
.label-template-name {
align-items: center;
display: flex;
vertical-align: middle;
}
.label-template-icon {

View file

@ -67,6 +67,10 @@
li:last-child {
padding-bottom: 0;
}
.zebra-printers {
color: $color-silver-chalice;
}
}
.zebra-status-tag {

View file

@ -15,7 +15,8 @@ module UserSettingsHelper
end
def on_settings_account_addons_page?
controller_name == 'addons'
controller_name == 'addons' ||
(controller_name == 'label_printers' && action_name == 'index_zebra')
end
def on_settings_team_page?

View file

@ -5,10 +5,10 @@
<div class="tab-content user-account-addons">
<div class="tab-pane content-pane active" role="tabpanel">
<div class="row">
<div>
<h1 class="addons-title"><%= t('users.settings.account.addons.title') %></h1>
<div class="col-xs-12 col-sm-12">
<div>
<h2 class="addons-subtitle" ><%= t('users.settings.account.addons.scinote_addons') %></h2>
<div data-hook="settings-addons-container">
<em data-hook="settings-addons-no-addons">