Skip to content

Commit 192577e

Browse files
committed
chore: add trash icon, add test items
1 parent 4753840 commit 192577e

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

public/trash.svg

Lines changed: 14 additions & 0 deletions
Loading

src/options.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@
1515
<input
1616
type="text"
1717
pattern="^\S+\.[^\s\.]+$"
18-
placeholder="Hostname following the schema: (sub.)domain.tld"
18+
placeholder="(sub.)domain.tld"
1919
name="hostname"
2020
id="hostname"
2121
required />
2222
<input type="submit" value="Disable" />
2323
</form>
2424
</section>
25-
<section class="table"></section>
25+
<section class="table">
26+
<div><span>test</span><button></button></div>
27+
<div><span>test</span><button></button></div>
28+
</section>
2629
</body>
2730
</html>

src/styles/options.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,16 @@ body > section {
5656
}
5757

5858
.table button {
59+
padding: 0.1rem;
5960
width: 2rem;
6061
height: 2rem;
6162
}
6263

6364
.table button::before {
64-
content: 'rm';
65+
display: block;
66+
content: url('/trash.svg');
67+
width: 100%;
68+
height: 100%;
6569
}
6670

6771
.form {

0 commit comments

Comments
 (0)