Skip to content

Commit 882f39e

Browse files
committed
fix: textarea responsive issue
1 parent 8dde0f2 commit 882f39e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

example/src/App.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@ body, html{
1818
width: 100%;
1919
font-size: calc(60px + 2vmin);
2020
color: white;
21+
/* padding: 10px; */
2122
}
2223
.App .header{
2324
display: flex;
2425
flex-direction: column;
2526
align-items: center;
2627
justify-content: center;
28+
text-align: center;
2729
}
2830
.App p{
2931
font-size: 14px;
@@ -42,6 +44,7 @@ body, html{
4244
.App .id-container textarea{
4345
font-size: 30px;
4446
max-width: 900px;
47+
width: 100%;
4548
padding: 20px;
4649
}
4750
.App .id-container button{

example/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { getCurrentBrowserFingerPrint } from '@rajesh896/broprint.js';
2-
import React, { useState } from 'react';
2+
import { useState } from 'react';
33
import './App.css';
44

55

@@ -24,7 +24,7 @@ function App() {
2424
<section className="id-container">
2525
<textarea rows={3} cols={100} placeholder="This browser's fingerprint" value={browserFingerprint} onChange={() => {}}></textarea>
2626
<p><button onClick={() => {getBrowserFingerPrint()}}>Generate FingerPrint</button></p>
27-
<p style={{marginTop: 20}}>You must try this window in incognito, with vpn and check if Id remains same. It will never change.</p>
27+
<p style={{marginTop: 20}}>You must try this window in incognito, with vpn and check if Id remains same. It will never change. <sub>[no brave support]</sub></p>
2828
</section>
2929
<footer>
3030
<div><a href='https://github.com/rajesh-royal' title='developer/author github account'>@rajesh-royal</a></div>

0 commit comments

Comments
 (0)