Refactor Button. Add icons. Fix EditDoc. (#2326)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2022-10-26 12:16:32 +07:00
committed by GitHub
parent cfe5972a11
commit 70e00dbb5f
12 changed files with 115 additions and 103 deletions
@@ -307,30 +307,9 @@
{/if}
<style lang="scss">
.title {
font-weight: 500;
font-size: 1.125rem;
color: var(--theme-caption-color);
}
.description-preview {
color: var(--theme-content-color);
line-height: 150%;
.placeholder {
color: var(--theme-content-trans-color);
}
}
.tool {
align-self: start;
width: 20px;
height: 20px;
opacity: 0.3;
cursor: pointer;
&:hover {
opacity: 1;
}
}
.tab-content {
@@ -25,7 +25,7 @@
<div class="antiNav-subheader gap-2">
<div class="flex-grow text-md">
<Button
icon={document.icon.Document}
icon={document.icon.NewDocument}
label={document.string.CreateDocument}
justify={'left'}
width={'100%'}