Commit 86e70248 by Matjaz Gregoric Committed by GitHub

Merge pull request #134 from open-craft/bradmerlin/itembank-x-axis-scroll

[MCKIN-5773] When running on mobile, make the item bank scrollable in the x direction without wrapping the items
parents 4cdf8045 592df93f
...@@ -586,6 +586,19 @@ ...@@ -586,6 +586,19 @@
} }
} }
@media screen and (max-width: 480px) {
/* Horizontal scroll for item bank on mobile */
.xblock--drag-and-drop .drag-container .item-bank .option {
flex-shrink: 0;
}
.xblock--drag-and-drop .item-bank {
-ms-flex-flow: row nowrap;
flex-flow: row nowrap;
overflow-x: auto;
}
}
.xblock--drag-and-drop .sidebar-buttons .sidebar-button-wrapper { .xblock--drag-and-drop .sidebar-buttons .sidebar-button-wrapper {
border-collapse: collapse; border-collapse: collapse;
padding: 0 5px; padding: 0 5px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment