fix(style): use line-height only when app name is shown

This commit is contained in:
sokumon 2025-10-27 19:40:43 +05:30
parent cec4b51b25
commit cc006d3016
2 changed files with 3 additions and 1 deletions

View file

@ -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 { %}

View file

@ -30,6 +30,8 @@
}
.header-title {
font-weight: 500;
}
[data-name-style="Subtitle"] {
line-height: 1;
}