Skip to content

Commit

Permalink
CSS touch (#6)
Browse files Browse the repository at this point in the history
* style tab color for mobile browsers

* custom border styles to input field

* add favicon icon
  • Loading branch information
JuzerShakir authored Apr 26, 2024
1 parent b20316f commit 41eecf6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="" />
<link rel="icon" href="src/assets/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<!-- Custom Fonts -->
Expand All @@ -14,6 +14,9 @@
rel="stylesheet"
/>

<!-- style tab color -->
<meta name="theme-color" content="#facc15" />

<title>Scrapulator</title>
</head>
<body class="bg-yellow-400">
Expand Down
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function Item({ item, onHandleItemEarnings }) {
type="number"
id={item.name}
name={item.name}
className="bg-amber-100 w-10 text-end text-amber-900 pr-1"
className="bg-amber-100 w-10 text-end text-amber-900 pr-1 border-b-2 border-yellow-600 focus:border-yellow-900 focus:outline-none"
placeholder="0"
min="0"
step="0.1"
Expand Down
Binary file added src/assets/favicon.ico
Binary file not shown.

0 comments on commit 41eecf6

Please sign in to comment.