Ajustes visuais no comportamento da função de mostrar/ocultar a sidebar
This commit is contained in:
@@ -88,6 +88,23 @@
|
||||
|
||||
return `
|
||||
<aside class="arch-panel-extension-sidebar${appState.sidebarCollapsed ? " is-collapsed" : ""}" aria-label="Dataset summary">
|
||||
<button
|
||||
type="button"
|
||||
class="arch-panel-extension-sidebar-toggle"
|
||||
data-action="toggle-sidebar"
|
||||
aria-label="${appState.sidebarCollapsed ? "Show sidebar" : "Hide sidebar"}"
|
||||
aria-expanded="${appState.sidebarCollapsed ? "false" : "true"}"
|
||||
title="${appState.sidebarCollapsed ? "Show sidebar" : "Hide sidebar"}"
|
||||
>
|
||||
<svg viewBox="0 0 20 20" aria-hidden="true" focusable="false">
|
||||
${
|
||||
appState.sidebarCollapsed
|
||||
? `<path d="M7.22 15.78a.75.75 0 0 1 0-1.06L11.94 10 7.22 5.28a.75.75 0 0 1 1.06-1.06l5.25 5.25a.75.75 0 0 1 0 1.06l-5.25 5.25a.75.75 0 0 1-1.06 0Z"></path>`
|
||||
: `<path d="M12.78 4.22a.75.75 0 0 1 0 1.06L8.06 10l4.72 4.72a.75.75 0 1 1-1.06 1.06l-5.25-5.25a.75.75 0 0 1 0-1.06l5.25-5.25a.75.75 0 0 1 1.06 0Z"></path>`
|
||||
}
|
||||
</svg>
|
||||
</button>
|
||||
|
||||
<div class="arch-panel-extension-sidebar-group">
|
||||
<p class="arch-panel-extension-sidebar-label">Current user</p>
|
||||
${renderCurrentUserSidebar(user)}
|
||||
|
||||
Reference in New Issue
Block a user