Commit 1f5e3963 authored by Eduardo Sanz García's avatar Eduardo Sanz García Committed by Lyza Gardner

Keep the content within the grid boundaries

This small trick borrowed from
https://css-tricks.com/preventing-a-grid-blowout/ keeps the grid content
within the grid boundaries, thus improving the responsive design.
parent 78a72dfa
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
.NotebookView { .NotebookView {
display: grid; display: grid;
row-gap: var.$layout-space--small; row-gap: var.$layout-space--small;
// See https://css-tricks.com/preventing-a-grid-blowout/
grid-template-columns: minmax(0, auto);
grid-template-areas: grid-template-areas:
'heading' 'heading'
'filters' 'filters'
......
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