Sidebar Size
Sidebar Size
Aquiry allows you to control the sidebar size using the
data-sidebar attribute on the
<html> tag. Set it to
default for a full-size sidebar,
medium for a slightly compact sidebar,
or small for a minimal compact sidebar
that only shows icons. This gives you flexibility to choose a sidebar size that best fits your layout.
<!-- Example -->
<html lang="en" data-sidebar="default"></html>
Set Sidebar Size via JavaScript
You can also dynamically change the sidebar size using JavaScript in
app.js. Simply set the data-sidebar attribute
on the <html> element to default, medium, or small
to update the sidebar size instantly.
data-sidebar="vertical"
data-sidebar="medium"
data-sidebar="small"