kopia lustrzana https://github.com/dgtlmoon/changedetection.io
UI - Fix scroll offset / tab buttons hiding behind menu/header
rodzic
a16a70229d
commit
03151da68e
|
@ -147,8 +147,13 @@ body.spinner-active {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tabs ul li a {
|
||||||
|
// .tab-pane-inner will have the #id that the tab button jumps/anchors to
|
||||||
|
scroll-margin-top: 200px;
|
||||||
|
}
|
||||||
|
|
||||||
section.content {
|
section.content {
|
||||||
padding-top: 5em;
|
padding-top: 100px;
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -931,6 +936,7 @@ $form-edge-padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-pane-inner {
|
.tab-pane-inner {
|
||||||
|
|
||||||
&:not(:target) {
|
&:not(:target) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -605,8 +605,11 @@ 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); }
|
||||||
|
|
||||||
|
.tabs ul li a {
|
||||||
|
scroll-margin-top: 200px; }
|
||||||
|
|
||||||
section.content {
|
section.content {
|
||||||
padding-top: 5em;
|
padding-top: 100px;
|
||||||
padding-bottom: 1em;
|
padding-bottom: 1em;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
Ładowanie…
Reference in New Issue