1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-06 12:02:45 +03:00

Homepage: Made much nicer at ipad-like widths

Updated default homepage layout to be much nicer at ipad-like widths by
switching to css-column approach at those breakpoints.
Also neated top actions by switching to simpler flexbox layout.

Fixes #4596
This commit is contained in:
Dan Brown
2023-10-07 12:38:54 +01:00
parent 2e2272343b
commit ccb3c2516a
3 changed files with 17 additions and 12 deletions

View File

@@ -2,23 +2,19 @@
@section('body')
<div class="container px-xl py-s">
<div class="grid half">
<div>
<div class="icon-list inline block">
@include('home.parts.expand-toggle', ['classes' => 'text-muted text-link', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
</div>
</div>
<div class="text-m-right">
<div class="icon-list inline block">
@include('common.dark-mode-toggle', ['classes' => 'text-muted icon-list-item text-link'])
</div>
<div class="container px-xl py-s flex-container-row gap-l wrap justify-space-between">
<div class="icon-list inline block">
@include('home.parts.expand-toggle', ['classes' => 'text-muted text-link', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
</div>
<div>
<div class="icon-list inline block">
@include('common.dark-mode-toggle', ['classes' => 'text-muted icon-list-item text-link'])
</div>
</div>
</div>
<div class="container" id="home-default">
<div class="grid third gap-xxl no-row-gap" >
<div class="grid third gap-x-xxl no-row-gap">
<div>
@if(count($draftPages) > 0)
<div id="recent-drafts" class="card mb-xl">