cleanup
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
.app-shell {
|
||||
height: 100%;
|
||||
height: 100dvh;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
color: var(--fg);
|
||||
@@ -7,10 +8,9 @@
|
||||
|
||||
|
||||
.documents-main {
|
||||
height: 100%;
|
||||
flex: 1;
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
min-height: 100dvh;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
@@ -22,6 +22,7 @@
|
||||
.main-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
@@ -35,20 +36,10 @@
|
||||
border-left: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.main-content__header {
|
||||
padding: 0.5rem 1.25rem;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.main-content__header-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.main-content__body {
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
flex-direction: column;
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
}
|
||||
@@ -58,38 +49,19 @@
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.main-content__body > *:not(.detail-panel) {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.main-content__body--workspace.main-content__body--has-detail > .desk-shell {
|
||||
.main-content__body--workspace.main-content__body > .desk-shell {
|
||||
margin-right: calc(-1 * var(--detail-panel-width));
|
||||
}
|
||||
|
||||
.main-content--has-detail {
|
||||
.main-content {
|
||||
padding-right: var(--detail-panel-width);
|
||||
}
|
||||
|
||||
.main-content__title {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
|
||||
.documents-main--sidebar-hidden {
|
||||
position: relative;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.sidebar .panel-header .icon,
|
||||
.main-content__header .icon,
|
||||
.detail-panel .panel-header .icon {
|
||||
width: 1.35rem;
|
||||
height: 1.35rem;
|
||||
}
|
||||
|
||||
.main-content__actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -102,25 +74,12 @@
|
||||
color: var(--muted-subtle);
|
||||
}
|
||||
|
||||
.main-content__title {
|
||||
margin: 0;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
color: var(--fg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
min-width: 0;
|
||||
flex: 1 1 auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.main-content__breadcrumbs {
|
||||
flex: 1 1 auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.main-content__subtitle {
|
||||
.panel-header__subtitle {
|
||||
font-size: 0.9rem;
|
||||
color: var(--muted);
|
||||
font-weight: 400;
|
||||
|
||||
Reference in New Issue
Block a user