Skip to content

Commit

Permalink
Better display the SVG icon as horizontally aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
ccouzens committed May 8, 2023
1 parent 6bf1e54 commit be65309
Show file tree
Hide file tree
Showing 4 changed files with 513 additions and 514 deletions.
40 changes: 20 additions & 20 deletions example-figma-files/gov-uk-design-system-components/button.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="184:54"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down Expand Up @@ -280,9 +280,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="184:56"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down Expand Up @@ -408,9 +408,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="184:58"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down Expand Up @@ -529,9 +529,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="184:60"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down Expand Up @@ -657,9 +657,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="213:67"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down Expand Up @@ -786,9 +786,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="30182:12490"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down Expand Up @@ -915,9 +915,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="30182:12532"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down Expand Up @@ -1048,9 +1048,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="30197:12544"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down Expand Up @@ -1177,9 +1177,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="30208:12554"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down Expand Up @@ -1310,9 +1310,9 @@
"
data-figma-name="Icon: Vector"
data-figma-id="30208:12564"
viewBox="0 0 100 100"
viewBox="-5 -81 100 100"
>
<text y=".9em" font-size="90"></text>
<text font-size="90"></text>
</svg>
</div>
</div>
Expand Down
Loading

0 comments on commit be65309

Please sign in to comment.