fixed some spacing in item pane

This commit is contained in:
yexingsha 2024-01-12 20:31:54 -06:00 committed by Dan Stillman
parent 6e7c80d97b
commit c5346d08b9
7 changed files with 11 additions and 9 deletions

View file

@ -114,7 +114,7 @@
@mixin meta-table { @mixin meta-table {
display: grid; display: grid;
grid-template-columns: max-content 1fr; grid-template-columns: max-content 1fr;
column-gap: 10px; column-gap: 8px;
row-gap: 2px; row-gap: 2px;
width: inherit; width: inherit;

View file

@ -222,7 +222,7 @@
background: var(--material-background); background: var(--material-background);
height: 1.83333333em; // 22px @ 12px font size height: 1.83333333em; // 22px @ 12px font size
overflow: hidden; overflow: hidden;
border-bottom: var(--material-border-quarternary); border-bottom: 1px solid var(--material-border-quarternary);
@include comfortable { @include comfortable {
height: 2.33333333em; // 28px @ 12px font size height: 2.33333333em; // 28px @ 12px font size

View file

@ -10,7 +10,11 @@ attachment-annotations-box {
& > .body { & > .body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 4px;
@include comfortable {
gap: 8px; gap: 8px;
} }
} }
} }
}

View file

@ -1,6 +1,6 @@
attachment-preview { attachment-preview {
width: 100%; width: 100%;
padding: 0px; padding: 2px 0px 4px 0px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;

View file

@ -38,11 +38,9 @@ attachments-box {
& > collapsible-section > .body { & > collapsible-section > .body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: 2px;
attachment-preview { attachment-preview {
opacity: 1; opacity: 1;
padding: 2px 0px 4px 0px;
&[data-preview-status=fail] { &[data-preview-status=fail] {
display: none; display: none;
@ -59,7 +57,7 @@ attachments-box {
} }
.attachments-container { .attachments-container {
padding-left: 16px; padding-left: 12px;
} }
} }
} }

View file

@ -9,7 +9,7 @@ libraries-collections-box {
.body { .body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-inline-start: 16px; margin-inline-start: 12px;
.row { .row {
display: flex; display: flex;

View file

@ -16,7 +16,7 @@ notes-box, related-box {
.body { .body {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding-inline-start: 16px; padding-inline-start: 12px;
.row { .row {
display: flex; display: flex;