Skip to content

Commit 2402de9

Browse files
committed
Fix: inconsistent style for toggle button
1 parent 726cc8f commit 2402de9

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

src/vellum-doc.ts

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,8 @@ export class VellumDocument extends LitElement {
2626
position: fixed;
2727
bottom: 1.5em;
2828
left: 1.5em;
29-
padding: 20px;
30-
background-color: lightgray;
31-
border-radius: 50%;
32-
height: 20px;
33-
width: 20px;
29+
height: 50px;
30+
width: 50px;
3431
}
3532
3633
#index {
@@ -179,11 +176,18 @@ export class VellumDocument extends LitElement {
179176
</lion-drawer>
180177
181178
<article id="document">
182-
<div id="toggle" @click="${this.toggleIndex}">
183-
<svg class="icon" viewBox="0 0 100 80" width="20" height="20">
184-
<rect width="100" height="15"></rect>
185-
<rect y="30" width="100" height="15"></rect>
186-
<rect y="60" width="100" height="15"></rect>
179+
<div>
180+
<svg id="toggle" class="icon" @click="${this.toggleIndex}" viewBox="0 0 64 64" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
181+
<g>
182+
<g transform="matrix(1.56894,0,0,1.46939,-3.65277,-8.41383)">
183+
<ellipse cx="22.724" cy="27.504" rx="20.396" ry="21.778" style="fill:rgb(211,211,211);"/>
184+
</g>
185+
<g transform="matrix(0.789127,0,0,0.789127,6.42717,6.64457)">
186+
<path d="M46.549,18.679L18.264,18.679C17.159,18.679 16.264,19.575 16.264,20.679C16.264,21.783 17.159,22.679 18.264,22.679L46.549,22.679C47.654,22.679 48.549,21.783 48.549,20.679C48.549,19.575 47.654,18.679 46.549,18.679Z" style="fill:rgb(29,29,27);fill-rule:nonzero;"/>
187+
<path d="M46.549,30.119L18.264,30.119C17.159,30.119 16.264,31.015 16.264,32.119C16.264,33.223 17.159,34.119 18.264,34.119L46.549,34.119C47.654,34.119 48.549,33.223 48.549,32.119C48.549,31.015 47.654,30.119 46.549,30.119Z" style="fill:rgb(29,29,27);fill-rule:nonzero;"/>
188+
<path d="M46.549,41.583L18.264,41.583C17.159,41.583 16.264,42.479 16.264,43.583C16.264,44.687 17.159,45.583 18.264,45.583L46.549,45.583C47.654,45.583 48.549,44.687 48.549,43.583C48.549,42.479 47.654,41.583 46.549,41.583Z" style="fill:rgb(29,29,27);fill-rule:nonzero;"/>
189+
</g>
190+
</g>
187191
</svg>
188192
</div>
189193
<div id="content" @click="${this.checkIndexVisibility}">

0 commit comments

Comments
 (0)