File tree Expand file tree Collapse file tree 5 files changed +14
-14
lines changed
frontend/src/components/HomeComponents Expand file tree Collapse file tree 5 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { CopyButtonProps } from '@/components/utils/types';
55
66export const CopyButton = ( { text, label } : CopyButtonProps ) => (
77 < CopyToClipboard text = { text } onCopy = { ( ) => showToast ( label ) } >
8- < button className = "bg-blue-500 hover:bg-gray-900 text-white font-bold py-4 px-2 rounded ml-2" >
8+ < button className = "bg-blue-500 hover:bg-gray-900 text-white font-bold py-3 md:py- 4 px-3 md:px-4 rounded ml-2" >
99 < CopyIcon />
1010 </ button >
1111 </ CopyToClipboard >
Original file line number Diff line number Diff line change @@ -51,13 +51,13 @@ export const Hero = (props: Props) => {
5151 </ div >
5252 < button
5353 onClick = { ( ) => setShowUuid ( ! showUuid ) }
54- className = "text-white font-bold p -2 rounded-full m-2 "
54+ className = "text-white font-bold m -2 bg-gray-700 hover:bg-gray-600 p-3 sm:p-4 rounded flex-shrink-0 "
5555 aria-label = { showUuid ? 'Hide UUID' : 'Show UUID' }
5656 >
5757 { showUuid ? (
58- < EyeOff className = "size-5" />
58+ < EyeOff className = "size-5 m-0.5 " />
5959 ) : (
60- < Eye className = "size-5" />
60+ < Eye className = "size-5 m-0.5 " />
6161 ) }
6262 </ button >
6363 < CopyButton text = { props . uuid } label = "UUID" />
@@ -77,13 +77,13 @@ export const Hero = (props: Props) => {
7777 </ div >
7878 < button
7979 onClick = { ( ) => setShowSecret ( ! showSecret ) }
80- className = "text-white font-bold p -2 rounded-full m-2 "
80+ className = "text-white font-bold m -2 bg-gray-700 hover:bg-gray-600 p-3 sm:p-4 rounded flex-shrink-0 "
8181 aria-label = { showSecret ? 'Hide secret' : 'Show secret' }
8282 >
8383 { showSecret ? (
84- < EyeOff className = "size-5" />
84+ < EyeOff className = "size-5 m-0.5 " />
8585 ) : (
86- < Eye className = "size-5" />
86+ < Eye className = "size-5 m-0.5 " />
8787 ) }
8888 </ button >
8989 < CopyButton
Original file line number Diff line number Diff line change 33exports [` CopyButton Component using snapshot renders correctly 1` ] = `
44<DocumentFragment >
55 <button
6- class = " bg-blue-500 hover:bg-gray-900 text-white font-bold py-4 px-2 rounded ml-2"
6+ class = " bg-blue-500 hover:bg-gray-900 text-white font-bold py-3 md:py- 4 px-3 md:px-4 rounded ml-2"
77 >
88 <svg
99 class = " lucide lucide-copy "
Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ exports[`Hero component using snapshot renders correctly 1`] = `
7070 </div >
7171 <button
7272 aria-label = " Hide UUID"
73- class = " text-white font-bold p -2 rounded-full m-2 "
73+ class = " text-white font-bold m -2 bg-gray-700 hover:bg-gray-600 p-3 sm:p-4 rounded flex-shrink-0 "
7474 >
7575 <svg
76- class = " lucide lucide-eye-off size-5"
76+ class = " lucide lucide-eye-off size-5 m-0.5 "
7777 fill = " none"
7878 height = " 24"
7979 stroke = " currentColor"
@@ -127,10 +127,10 @@ exports[`Hero component using snapshot renders correctly 1`] = `
127127 </div >
128128 <button
129129 aria-label = " Hide secret"
130- class = " text-white font-bold p -2 rounded-full m-2 "
130+ class = " text-white font-bold m -2 bg-gray-700 hover:bg-gray-600 p-3 sm:p-4 rounded flex-shrink-0 "
131131 >
132132 <svg
133- class = " lucide lucide-eye-off size-5"
133+ class = " lucide lucide-eye-off size-5 m-0.5 "
134134 fill = " none"
135135 height = " 24"
136136 stroke = " currentColor"
Original file line number Diff line number Diff line change @@ -169,14 +169,14 @@ export const NavbarDesktop = (
169169 </ DialogHeader >
170170 < div className = "flex justify-end gap-4 mt-4" >
171171 < Button
172- className = "bg-[#3B82F6] hover:bg-white focus-visible:ring-0 focus-visible:ring-offset-0 focus:outline-none"
172+ className = "bg-[#3B82F6] hover:bg-[#3B82F6] focus-visible:ring-0 focus-visible:ring-offset-0 focus:outline-none"
173173 onClick = { handleExportTXT }
174174 >
175175 < FileText className = "mr-2 h-4 w-4" />
176176 Download .txt
177177 </ Button >
178178 < Button
179- className = "bg-[#3B82F6] hover:bg-white "
179+ className = "bg-[#3B82F6] hover:bg-[#3B82F6] "
180180 onClick = { handleExportJSON }
181181 >
182182 < FileJson className = "mr-2 h-4 w-4" />
You can’t perform that action at this time.
0 commit comments