mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-25 01:04:02 +08:00
Fix CSS issues label printer and label templates and setting pages [SCI-8371]
This commit is contained in:
parent
783d5d03ab
commit
1624941c03
4 changed files with 9 additions and 5 deletions
|
@ -94,8 +94,7 @@
|
|||
}
|
||||
|
||||
.label-template-name {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.label-template-icon {
|
||||
|
|
|
@ -67,6 +67,10 @@
|
|||
li:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.zebra-printers {
|
||||
color: $color-silver-chalice;
|
||||
}
|
||||
}
|
||||
|
||||
.zebra-status-tag {
|
||||
|
|
|
@ -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?
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue