Skip to content

Commit

Permalink
chore: update style
Browse files Browse the repository at this point in the history
  • Loading branch information
zouhangwithsweet committed Aug 20, 2024
1 parent c05f181 commit 4f95995
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion entrypoints/injected/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default () => {
dragPropagation={false}
dragListener={false}
dragControls={controls}
className={`fixed top-10 right-20 text-xs text-$color-text bg-$color-bg rounded border-1 border-$color-border border-solid shadow-md z-10 antialiased h-auto transition-width !font-['Inter'] js-fullscreen-prevent-event-capture ${minimized ? 'w-50' : 'w-80'} max-h-[calc(100vh-50px)] overflow-y-scroll scrollbar-hide`}
className={`fixed top-10 right-20 text-xs text-$color-text bg-$color-bg rounded border-1 border-$color-border border-solid shadow-md z-10 antialiased h-auto transition-width !font-['Inter'] js-fullscreen-prevent-event-capture ${minimized ? 'w-50' : 'w-80'} max-h-[calc(100vh-50px)] overflow-y-scroll scrollbar-hide select-none`}
tabIndex={-1}
>
<Header startDrag={startDrag} ref={header} minimized={minimized} onToggleSize={handleToggleSize} />
Expand Down
10 changes: 7 additions & 3 deletions entrypoints/injected/components/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,13 @@ export const Download = memo((props: { minimized?: boolean }) => {
onClick={handleCopy(svgString)}
/>
</div>
<span className="px-4 h-auto py-4 lh-4.5 max-h-14 overflow-y-auto bg-#f5f5f5 cursor-text font-['Roboto_Mono'] text-$color-text text-xs resize-none scrollbar-hide">
{svgString}
</span>
<textarea
value={svgString}
readOnly
rows={0}
autoComplete="off"
className="px-4 h-auto py-4 lh-4.5 bg-#f5f5f5 cursor-text text-xs font-['Roboto_Mono'] text-$color-text resize-none scrollbar-hide"
></textarea>
</div>
)}
</div>
Expand Down

0 comments on commit 4f95995

Please sign in to comment.