diff --git a/resources/assets/sass/_blocks.scss b/resources/assets/sass/_blocks.scss index c43ff7f78..032b1cbeb 100644 --- a/resources/assets/sass/_blocks.scss +++ b/resources/assets/sass/_blocks.scss @@ -181,7 +181,7 @@ margin-left: auto; margin-right: auto; margin-bottom: $-xl; - overflow: auto; + overflow: initial; min-height: 60vh; &.auto-height { min-height: 0; @@ -202,7 +202,7 @@ } @include smaller-than($s) { .content-wrap.card { - padding: $-m $-s; + padding: $-m $-m; } } diff --git a/resources/assets/sass/_text.scss b/resources/assets/sass/_text.scss index 41c99bbe5..1a613898e 100644 --- a/resources/assets/sass/_text.scss +++ b/resources/assets/sass/_text.scss @@ -291,15 +291,27 @@ li.checkbox-item, li.task-list-item { .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; } diff --git a/resources/views/books/list.blade.php b/resources/views/books/list.blade.php index 91a2c716e..93d927ec7 100644 --- a/resources/views/books/list.blade.php +++ b/resources/views/books/list.blade.php @@ -1,8 +1,8 @@
{{ trans_choice('entities.comment_count', count($page->comments), ['count' => count($page->comments)]) }}
@if (count($page->comments) === 0) -