diff --git a/app/web/static/style.css b/app/web/static/style.css index 994d6c0..42689e6 100644 --- a/app/web/static/style.css +++ b/app/web/static/style.css @@ -346,6 +346,24 @@ select { align-self: start; } +/* Narrow viewports: let the blurb span full width under the name/pkg row + instead of getting crammed into the middle column. */ +@media (max-width: 780px) { + .reducer-list label { + grid-template-columns: 1.4rem 1fr auto; + grid-template-areas: + "mark name pkg" + "mark blurb blurb"; + column-gap: 0.6rem; + row-gap: 2px; + } + .reducer-list .mark { grid-area: mark; } + .reducer-list .pkg { grid-area: pkg; } + .reducer-list .text { display: contents; } + .reducer-list .name { grid-area: name; } + .reducer-list .blurb { grid-area: blurb; } +} + /* advanced disclosure */ details.advanced { margin-top: 0.8rem; diff --git a/app/web/templates/index.html b/app/web/templates/index.html index 58a3990..390b21f 100644 --- a/app/web/templates/index.html +++ b/app/web/templates/index.html @@ -4,7 +4,7 @@ embedding notebook - +