MDL-63063 block_recentlyaccesseditems: CSS

Only show more than one row of items when the block is displayed in a narrow column.

Fix for boost theme only because of the second block region on the dashboard.
This commit is contained in:
Damyon Wiese 2018-11-01 15:29:25 +08:00
parent 033adb0242
commit c3e419e4dc
2 changed files with 7 additions and 4 deletions

View File

@ -127,8 +127,10 @@ $card-gutter : $card-deck-margin * 2;
[data-region="blocks-column"] {
.block_recentlyaccesseditems {
.dashboard-card-deck {
height: unset;
@include media-breakpoint-up(xl) {
.dashboard-card-deck {
height: unset;
}
}
}
}

View File

@ -11201,8 +11201,9 @@ div.editor_atto_toolbar button .icon {
background-position: center;
background-size: cover; }
[data-region="blocks-column"] .block_recentlyaccesseditems .dashboard-card-deck {
height: unset; }
@media (min-width: 1200px) {
[data-region="blocks-column"] .block_recentlyaccesseditems .dashboard-card-deck {
height: unset; } }
.block_recentlyaccesseditems [data-region="recentlyaccesseditems-view-content"] {
overflow-x: hidden; }