UI - More work on tab buttons hiding behind menu/header :-)

2548-trigger-check
dgtlmoon 2 months ago
parent f7d4e58613
commit ecafa27833

@ -26,8 +26,7 @@ function set_active_tab() {
if (tab.length) { if (tab.length) {
tab[0].parentElement.className = "active"; tab[0].parentElement.className = "active";
} }
// hash could move the page down
window.scrollTo(0, 0);
} }
function focus_error_tab() { function focus_error_tab() {

@ -148,7 +148,7 @@ body.spinner-active {
} }
.tabs ul li a { .tab-pane-inner {
// .tab-pane-inner will have the #id that the tab button jumps/anchors to // .tab-pane-inner will have the #id that the tab button jumps/anchors to
scroll-margin-top: 200px; scroll-margin-top: 200px;
} }

@ -605,8 +605,7 @@ body.spinner-active #pure-menu-horizontal-spinner {
background-color: var(--color-background-menu-link-hover); background-color: var(--color-background-menu-link-hover);
color: var(--color-text-menu-link-hover); } color: var(--color-text-menu-link-hover); }
.tab-pane-inner {
.tabs ul li a {
scroll-margin-top: 200px; } scroll-margin-top: 200px; }
section.content { section.content {

Loading…
Cancel
Save