diff --git a/css/style.css b/css/style.css index c96ddab..3cb191a 100644 --- a/css/style.css +++ b/css/style.css @@ -192,7 +192,7 @@ input#trackname:focus:invalid { } /* Override Bootstrap tabs that set `display` from `none` to `block` when activating */ -.tab-content > #profile_editor.active { +#profileEditorTabsContent.tab-content > .active { display: flex; } @@ -430,6 +430,7 @@ table.dataTable.display tbody tr.even:hover { * leaflet-sidebar-v2 */ +.leaflet-sidebar-pane#tab_profile, .leaflet-sidebar-pane#tab_data, .leaflet-sidebar-pane#tab_itinerary { /* Full height for content with inner scrolling, @@ -437,12 +438,17 @@ table.dataTable.display tbody tr.even:hover { height: 100%; } -.leaflet-sidebar-pane#tab_profile { - min-height: 100%; +#profile_params, +.CodeMirror { + /* auto instead of 1 to avoid overflow to content height in Firefox */ + flex: auto; + /* override default 300px, behaves like min-height with flex auto */ + height: 0; } -#profile_params_container .form-group { - margin-bottom: 5px; +#profile_params { + overflow-y: scroll; + padding-right: 5px; } .leaflet-sidebar-pane#tab_profile label { @@ -467,7 +473,8 @@ table.dataTable.display tbody tr.even:hover { } /* layers control as sidebar tab */ -#tab_layers_control { +#tab_layers_control, +#profile_params { font-size: 0.9rem; line-height: normal; } @@ -517,11 +524,6 @@ table.dataTable.display tbody tr.even:hover { */ .CodeMirror { - /* auto instead of 1 to avoid overflow to content height in Firefox */ - flex: auto; - /* override default 300px, behaves like min-height with flex auto */ - height: 0; - border: 1px solid #ddd; font-family: Menlo, Consolas, Monaco, Liberation Mono, Lucida Console, monospace; diff --git a/index.html b/index.html index f91a709..0319aa5 100644 --- a/index.html +++ b/index.html @@ -682,7 +682,7 @@