v1.8.32: fix header dropdown position (left-0 for RTL), fix brand name truncation
This commit is contained in:
@@ -41,14 +41,14 @@
|
||||
|
||||
<!-- Row 1: Identity + Account -->
|
||||
<div class="flex items-center justify-between py-3 gap-3">
|
||||
<a href="/" class="flex items-center gap-3 min-w-0">
|
||||
<a href="/" class="flex items-center gap-3 flex-1 min-w-0">
|
||||
<div class="w-9 h-9 bg-primary/15 rounded-xl flex items-center justify-center shrink-0 glow-sm brand-icon-wrap">
|
||||
<img id="brand-logo" class="hidden rounded-lg object-contain" style="height:32px"/>
|
||||
<span id="brand-icon" class="msym text-primary text-lg">auto_awesome</span>
|
||||
</div>
|
||||
<div class="min-w-0">
|
||||
<h1 class="text-sm font-bold text-primary leading-tight truncate" id="brand-name">AfakZaid RAG</h1>
|
||||
<p class="text-[10px] text-on-surface-variant/60 uppercase tracking-widest truncate" id="brand-sub">Scholarly Intelligence</p>
|
||||
<h1 class="text-sm font-bold text-primary leading-tight" id="brand-name">AfakZaid RAG</h1>
|
||||
<p class="text-[10px] text-on-surface-variant/60 uppercase tracking-widest" id="brand-sub">Scholarly Intelligence</p>
|
||||
</div>
|
||||
</a>
|
||||
<div id="nav-auth" class="flex items-center gap-2 shrink-0"></div>
|
||||
@@ -189,7 +189,7 @@
|
||||
<span class="hidden sm:inline max-w-[80px] truncate">${user.name}</span>
|
||||
<span class="msym text-sm text-on-surface-variant">expand_more</span>
|
||||
</button>
|
||||
<div id="uh-drop" class="hidden absolute right-0 top-full mt-1 glass rounded-xl p-2 min-w-[160px] z-50 shadow-xl">
|
||||
<div id="uh-drop" class="hidden absolute left-0 top-full mt-1 glass rounded-xl p-2 min-w-[160px] z-50 shadow-xl">
|
||||
<div class="px-3 py-2 border-b border-outline-variant/30 mb-1">
|
||||
<p class="text-xs font-bold">${user.name}</p>
|
||||
<p class="text-[10px] text-primary">${user.role}</p>
|
||||
|
||||
Reference in New Issue
Block a user