fix(style): use line-height only when app name is shown
This commit is contained in:
parent
cec4b51b25
commit
cc006d3016
2 changed files with 3 additions and 1 deletions
|
|
@ -13,7 +13,7 @@
|
|||
</div>
|
||||
<div class="title-container">
|
||||
|
||||
<div class="sidebar-item-label header-title">
|
||||
<div class="sidebar-item-label header-title" data-name-style="{%=frappe.boot.app_name_style%}">
|
||||
{% if (frappe.boot.app_name_style == "Title") { %}
|
||||
{%= frappe.app.sidebar.app_name %}
|
||||
{% } else { %}
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@
|
|||
}
|
||||
.header-title {
|
||||
font-weight: 500;
|
||||
}
|
||||
[data-name-style="Subtitle"] {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue