@likable-hair/svelte 4.0.17 → 4.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -49,13 +49,23 @@ function toggleSidebar() {
|
|
|
49
49
|
/>
|
|
50
50
|
</div>
|
|
51
51
|
{:else if !sidebarExpanded}
|
|
52
|
-
|
|
53
|
-
<
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
52
|
+
{#if !sidebarExpanded}
|
|
53
|
+
<div style:margin-right="2rem">
|
|
54
|
+
<Icon
|
|
55
|
+
name="mdi-dock-left"
|
|
56
|
+
--icon-default-size="1.5rem"
|
|
57
|
+
onclick={toggleSidebar}
|
|
58
|
+
/>
|
|
59
|
+
</div>
|
|
60
|
+
{:else}
|
|
61
|
+
<div style:margin-right="2rem">
|
|
62
|
+
<Icon
|
|
63
|
+
name="mdi-dock-left"
|
|
64
|
+
--icon-default-size="1.5rem"
|
|
65
|
+
onclick={toggleSidebar}
|
|
66
|
+
/>
|
|
67
|
+
</div>
|
|
68
|
+
{/if}
|
|
59
69
|
{/if}
|
|
60
70
|
{#if innerMenuSnippet}
|
|
61
71
|
{@render innerMenuSnippet({ hamburgerVisible: mAndDown })}
|
|
@@ -87,17 +97,6 @@ function toggleSidebar() {
|
|
|
87
97
|
<div class="logo">Logo</div>
|
|
88
98
|
{/if}
|
|
89
99
|
</div>
|
|
90
|
-
<div class="pin-container">
|
|
91
|
-
{#if sidebarExpanded}
|
|
92
|
-
<div class="sidebar-close-button">
|
|
93
|
-
<Icon
|
|
94
|
-
name="mdi-menu-open"
|
|
95
|
-
--icon-default-size="1.5rem"
|
|
96
|
-
onclick={toggleSidebar}
|
|
97
|
-
/>
|
|
98
|
-
</div>
|
|
99
|
-
{/if}
|
|
100
|
-
</div>
|
|
101
100
|
</div>
|
|
102
101
|
{#if menuSnippet}
|
|
103
102
|
{@render menuSnippet({ hamburgerVisible: mAndDown, sidebarExpanded })}
|
|
@@ -188,15 +187,6 @@ function toggleSidebar() {
|
|
|
188
187
|
margin-bottom: 1rem;
|
|
189
188
|
}
|
|
190
189
|
|
|
191
|
-
.pin-container {
|
|
192
|
-
display: flex;
|
|
193
|
-
justify-content: flex-end;
|
|
194
|
-
align-items: center;
|
|
195
|
-
width: 30%;
|
|
196
|
-
margin-bottom: 1rem;
|
|
197
|
-
margin-right: 1rem;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
190
|
.sidebar-close-button {
|
|
201
191
|
cursor: pointer;
|
|
202
192
|
display: flex;
|