Skip to content

Commit b7f1f72

Browse files
authored
Merge pull request #21 from druvkotwani/someFix
some corrections for chrome browser
2 parents 3127712 + 988a0c3 commit b7f1f72

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

client/src/components/Home.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function Home() {
5959

6060
return (
6161
<>
62-
<div className="h-screen overflow-x-hidden nunito">
62+
<div className="overflow-x-hidden nunito">
6363
<button onClick={() => setShowStats(prevShowStats => !prevShowStats)}
6464
className="transform transition-transform duration-300 hover:scale-125 z-50 fixed w-12 h-12 bottom-0 right-0 lg:right-3 m-4 sm:mr-6 lg:mr-4 rounded-md bg-[#0e0e0e] text-white hover:bg-[#292829] border border-gray-600 px-3 py-2 text-sm font-bold shadow-white animated-button">
6565
<svg width="95" height="111" viewBox="0 0 95 111" fill="none" xmlns="http://www.w3.org/2000/svg" className="h-full w-auto max-w-none">

client/src/components/StatsGenerator.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ export default function StatsGenerator({ setShowStats }) {
242242
<button onClick={addData} className={`${userName.trim() === '' ? 'pointer-events-none opacity-50' : ''} rounded-md bg-[#0e0e0e] text-white hover:bg-[#292829] border border-gray-600 px-4 py-2 text-base font-bold shadow`}>Add To HallOfFame</button>
243243
</div>
244244
<button onClick={() => setShowStats(false)} className="mt-2">
245-
<iconify-icon icon="line-md:close-small" width="60" height="60"></iconify-icon>
245+
<iconify-icon icon="memory:close-outline" style={{ color: 'white' }} width="50" height="50"></iconify-icon>
246246
</button>
247247
<ToastContainer
248248
position="top-center"

client/tailwind.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ export default {
77
theme: {
88
extend: {},
99
},
10+
daisyui: {
11+
themes: [],
12+
},
1013
plugins: [require("daisyui")],
1114
boxShadow: {
1215
white: '0 0 10px #fff',

0 commit comments

Comments
 (0)