Skip to content

Commit

Permalink
icons
Browse files Browse the repository at this point in the history
  • Loading branch information
mishankov committed Feb 22, 2024
1 parent a6b1004 commit cf96cbe
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/lines.svg" />
<link rel="stylesheet" href="/reset.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Svelte + TS</title>
<title>String Manipulator</title>
</head>
<body>
<div id="app"></div>
Expand Down
22 changes: 22 additions & 0 deletions public/lines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/trash-can.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion public/vite.svg

This file was deleted.

7 changes: 6 additions & 1 deletion src/manipulations/components/Manipulation.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
{:else if manipulation.type == "splitJoin"}
<SplitJoin bind:splitString={manipulation.splitString} bind:joinString={manipulation.joinString} bind:innerManipulations={manipulation.innerManipulations}/>
{/if}
<button class="delete" on:click={sendDeleteEvent}>X</button>
<button class="delete" on:click={sendDeleteEvent}><img src="trash-can.svg" alt="Delete"/></button>
</div>

<style>
Expand Down Expand Up @@ -71,4 +71,9 @@
outline: none;
background-color: var(--bg-color-100);
}
.delete img {
min-width: 20px;
height: 20px;
}
</style>

0 comments on commit cf96cbe

Please sign in to comment.