mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-04-24 14:49:58 -07:00
website: fixes
This commit is contained in:
@@ -48,35 +48,35 @@ a {
|
||||
|
||||
aside {
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
position: relative;
|
||||
/*height: 100%;*/
|
||||
/*width: 100%;*/
|
||||
/*overflow-y: auto;*/
|
||||
flex: 1;
|
||||
grid-row: 1;
|
||||
grid-column: 1;
|
||||
z-index: 1;
|
||||
overflow: hidden;
|
||||
background: var(--background-color);
|
||||
|
||||
html[data-layout="mobile"] & {
|
||||
padding-bottom: calc(var(--main-padding) + 0.5rem);
|
||||
}
|
||||
|
||||
html[data-layout="desktop"] & {
|
||||
html[data-layout="split"] & {
|
||||
grid-column: 2;
|
||||
grid-row: 1 / -1;
|
||||
border-left: 1px;
|
||||
order: 2;
|
||||
}
|
||||
|
||||
body > &[hidden] {
|
||||
display: block !important;
|
||||
&[hidden] {
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body {
|
||||
font-weight: var(--font-weight-base);
|
||||
height: 100dvh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
display: grid;
|
||||
grid-template-rows: 1fr auto;
|
||||
grid-template-columns: 1fr;
|
||||
position: relative;
|
||||
|
||||
html[data-layout="desktop"] & {
|
||||
flex-direction: row;
|
||||
html[data-layout="split"] & {
|
||||
grid-template-columns: minmax(min-content, auto) 1fr;
|
||||
|
||||
html[data-display="standalone"] & {
|
||||
border-top: 1px;
|
||||
@@ -267,14 +267,23 @@ summary {
|
||||
}
|
||||
}
|
||||
|
||||
html[data-layout="desktop"] .md\:hidden {
|
||||
|
||||
html[data-layout="split"] .full-only {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#pin-button {
|
||||
#layout-button {
|
||||
@media (max-width: 767px) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "Split";
|
||||
}
|
||||
|
||||
html[data-layout="split"] &::after {
|
||||
content: "Full";
|
||||
}
|
||||
}
|
||||
|
||||
[data-resize] {
|
||||
|
||||
Reference in New Issue
Block a user