mapseed/platform

Configurable page and place detail heights

Closed this issue · 2 comments

Page views and place detail views occupy a fixed percentage of the screen height on phones and tablets. There are many cases, though, where we'd like to tweak that percentage for individual pages and individual dataset place detail views.

Let's add a set of parameters to the config to enable this kind of customization.

Rather than create a set of config.yml parameters that control widths and heights, I think it would be better to change these values in the scss. This is because we have several media queries that would all need to be updated with config values, and I think it would be messy. But within the scss itself we have a few scss variables that control content width and height percentages, so changing those is easy.

However, I'm not sure if we can use scss in custom flavor styles. Will our new build system allow us to compile scss that is split between the core project and a flavor?

We worked through a few standard page height customizations, so closing this issue for now until we decide that fully customizable page heights are a priority.