diff --git a/resources/assets/sass/_lists.scss b/resources/assets/sass/_lists.scss index d12155962..91522d8bf 100644 --- a/resources/assets/sass/_lists.scss +++ b/resources/assets/sass/_lists.scss @@ -250,19 +250,25 @@ ul.pagination { .entity-list-item, .icon-list-item { padding: $-s $-m; - display: grid; - grid-template-columns: min-content 1fr; - grid-column-gap: $-m; - align-items: top; - > .content { - padding-top: 2px; - } - .icon { - font-size: 1rem; - } + display: flex; + align-items: center; + background-color: transparent; + border: 0; + cursor: pointer; + width: 100%; + position: relative; h4 a { color: #666; } + > span:first-child { + margin-right: $-m; + flex-basis: 1.88em; + flex: none; + } + > span:last-child { + flex: 1; + text-align: left; + } &:hover { text-decoration: none; background-color: #DDD; @@ -278,10 +284,13 @@ ul.pagination { } .entity-list-item-image { + align-self: stretch; width: 140px; background-size: cover; background-position: 50% 50%; border-radius: 3px; + position: relative; + margin-right: $-l; @include smaller-than($m) { width: 80px; } diff --git a/resources/assets/sass/_pages.scss b/resources/assets/sass/_pages.scss index ab16e7fab..a260116c6 100755 --- a/resources/assets/sass/_pages.scss +++ b/resources/assets/sass/_pages.scss @@ -356,7 +356,7 @@ } } -.entity-list-item > .icon, .icon-list-item > .icon { +.entity-list-item > span:first-child, .icon-list-item > span:first-child { font-size: 0.8rem; width: 1.88em; height: 1.88em; diff --git a/resources/views/books/index.blade.php b/resources/views/books/index.blade.php index e21dfc7a8..4eeba10cf 100644 --- a/resources/views/books/index.blade.php +++ b/resources/views/books/index.blade.php @@ -40,7 +40,7 @@
- - {{ $page->draft ? trans('entities.pages_delete_draft_confirm'): trans('entities.pages_delete_confirm') }} - -
- {{--TODO - Looks strange--}} - -- {{ trans('settings.role_delete_sure') }} -
- -+ {{ trans('settings.role_delete_sure') }} +
+