mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-31 21:23:38 +08:00
Fixed large content previews and improved mobile styles
Listing content previews no longer pre-wrap and instead simply break correctly. Updated titles to ensure they break on mobile devices. Reduced spacing and font sizes on mobile to better adjust content to screen size. Fixes #739
This commit is contained in:
@ -91,8 +91,8 @@
|
||||
|
||||
@section('body')
|
||||
|
||||
<div class="container small">
|
||||
<h1>{{$book->name}}</h1>
|
||||
<div class="container small nopad">
|
||||
<h1 class="break-text" v-pre>{{$book->name}}</h1>
|
||||
<div class="book-content" v-show="!searching">
|
||||
<p class="text-muted" v-pre>{!! nl2br(e($book->description)) !!}</p>
|
||||
@if(count($bookChildren) > 0)
|
||||
|
@ -96,8 +96,8 @@
|
||||
|
||||
@section('body')
|
||||
|
||||
<div class="container small">
|
||||
<h1 v-pre>{{ $chapter->name }}</h1>
|
||||
<div class="container small nopad">
|
||||
<h1 class="break-text" v-pre>{{ $chapter->name }}</h1>
|
||||
<div class="chapter-content" v-show="!searching">
|
||||
<p v-pre class="text-muted break-text">{!! nl2br(e($chapter->description)) !!}</p>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div ng-non-bindable>
|
||||
|
||||
<h1 id="bkmrk-page-title">{{$page->name}}</h1>
|
||||
<h1 class="break-text" v-pre id="bkmrk-page-title">{{$page->name}}</h1>
|
||||
|
||||
<div style="clear:left;"></div>
|
||||
|
||||
|
Reference in New Issue
Block a user