mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Enhancement: support full width container (#5021)
This commit is contained in:
parent
42f1ed3c47
commit
ce0102eb6f
@ -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…
x
Reference in New Issue
Block a user