margin-left: auto;
margin-right: auto;
margin-bottom: $-xl;
- overflow: auto;
+ overflow: initial;
min-height: 60vh;
&.auto-height {
min-height: 0;
}
@include smaller-than($s) {
.content-wrap.card {
- padding: $-m $-s;
+ padding: $-m $-m;
}
}
.text-center {
text-align: center;
}
-
.text-left {
text-align: left;
}
-
.text-right {
text-align: right;
}
+@each $sizeLetter, $size in $screen-sizes {
+ @include larger-than($size) {
+ .text-#{$sizeLetter}-center {
+ text-align: center;
+ }
+ .text-#{$sizeLetter}-left {
+ text-align: left;
+ }
+ .text-#{$sizeLetter}-right {
+ text-align: right;
+ }
+ }
+}
+
.text-bigger {
font-size: 1.1em;
}
<div class="content-wrap mt-m card">
- <div class="grid half v-center">
+ <div class="grid half v-center no-row-gap">
<h1 class="list-heading">{{ trans('entities.books') }}</h1>
- <div class="text-right">
+ <div class="text-m-right my-m">
@include('partials.sort', ['options' => $sortOptions, 'order' => $order, 'sort' => $sort, 'type' => 'books'])
<div page-comments page-id="{{ $page->id }}" class="comments-list">
- <div comment-count-bar class="grid half left-focus v-center">
+ <div comment-count-bar class="grid half left-focus v-center no-row-gap">
<h5 comments-title>{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}</h5>
@if (count($page->comments) === 0)
- <div class="text-right" comment-add-button-container>
+ <div class="text-m-right" comment-add-button-container>
<button type="button" action="addComment"
class="button outline">{{ trans('entities.comment_add') }}</button>
</div>