Skip to content

Commit 66869f1

Browse files
committed
client: tiny ui changes
1 parent c94e3bb commit 66869f1

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

client/src/components/input/Input.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ const Input: FC<InputProps> = (props) => {
6868
<button
6969
type="button"
7070
aria-label="Clear"
71+
tabIndex={100}
7172
onMouseDown={() => props.setValue("")}
7273
className={twMerge(
7374
`absolute top-1/2 -translate-y-1/2 cursor-pointer right-2

client/src/pages/Preview.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,15 @@ const Preview: FC<PreviewProps> = (props) => {
2828
</a>
2929

3030
<div className="w-[95%] h-[.8px] bg-gh-border mx-auto my-2" />
31-
3231
<div className="mx-4 text-gh-text font-semibold my-2">Markdown</div>
33-
3432
<Codeblock code={markdown} />
3533

3634
<div className="w-[95%] h-[.8px] bg-gh-border mx-auto my-4" />
37-
3835
<div className="mx-4 text-gh-text font-semibold my-2">URL</div>
39-
4036
<Codeblock code={props.link} />
4137

4238
<div className="w-[95%] h-[.8px] bg-gh-border mx-auto my-4" />
43-
4439
<div className="mx-4 text-gh-text font-semibold my-2">HTML</div>
45-
4640
<Codeblock code={`<img src="${props.link}" alt="My Tech Stack" />`} />
4741
</section>
4842
);

0 commit comments

Comments
 (0)