Skip to content

Commit 8e2b5ba

Browse files
committed
UI fixes
1 parent 34fdde0 commit 8e2b5ba

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

src/ui/components/about.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</div>
3333
</div>
3434
<p>{PACKAGE.description}</p>
35-
<h2 style="margin: 0px 0px 10px 0px;">Created by</h2>
35+
<h2 style="padding-top: 16px;">Created by</h2>
3636
<br />
3737
<div class="profile-image-container">
3838
<img

src/ui/components/docs/docsIndexItem.svelte

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
style={$openPageUrl === myPageUrl ? 'background: var(--color-button);' : ''}
4646
on:click={onTitleClick}
4747
>
48+
<span class="title">{myPage.title}</span>
4849
{#if Object.entries(myStructure).length > 0}
49-
<span class="material-icons" on:click={toggleExpand}>
50+
<span class="material-icons arrow" on:click={toggleExpand}>
5051
{expanded ? 'expand_more' : 'chevron_right'}
5152
</span>
5253
{/if}
53-
<span class="title">{myPage.title}</span>
5454
</div>
5555
{#if expanded}
5656
<ol class="child-container">
@@ -71,11 +71,12 @@
7171
.title-container {
7272
display: flex;
7373
padding: 2px 10px 2px 5px;
74+
text-decoration: unset;
7475
}
7576
7677
.title {
7778
text-decoration: underline;
78-
margin-left: 2px;
79+
margin-right: 2px;
7980
}
8081
8182
.title-container:hover {
@@ -87,6 +88,13 @@
8788
display: flex;
8889
flex-direction: column;
8990
list-style-type: none;
90-
margin-left: 20px;
91+
margin: 0px 0px 0px 1em;
92+
padding: 0px;
93+
}
94+
95+
.arrow {
96+
font-size: 20px;
97+
display: flex;
98+
align-items: center;
9199
}
92100
</style>

0 commit comments

Comments
 (0)