Enhancement: support full width container (#5021)

pull/5022/head
shamoon 1 month ago committed by GitHub
parent 42f1ed3c47
commit ce0102eb6f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -254,6 +254,14 @@ layout:
columns: 4
```
### Full Width
You can make homepage take up the entire window width by adding:
```yaml
fullWidth: true
```
### Five Columns
You can add a fifth column to services (when `style: columns` which is default) by adding:

@ -417,7 +417,12 @@ function Home({ initialSettings }) {
<Script src="/api/config/custom.js" />
<div className="relative container m-auto flex flex-col justify-start z-10 h-full">
<div
className={classNames(
settings.fullWidth ? "" : "container",
"relative m-auto flex flex-col justify-start z-10 h-full",
)}
>
<QuickLaunch
servicesAndBookmarks={servicesAndBookmarks}
searchString={searchString}

Loading…
Cancel
Save