Skip to content

Commit

Permalink
update color and padding
Browse files Browse the repository at this point in the history
  • Loading branch information
deadpine committed Nov 15, 2023
1 parent 154b806 commit 8694e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/BrandAssets/AssetCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function AssetCard({ title, cover, svg, png }: IAssetCard) {
return (
<div className="my-4 w-1/2 w-full">
<img alt="" src={ cover } className="w-full h-56 object-cover border border-solid border-slate-500/25 rounded-xl"/>
<div className="w-full flex items-center gap-1 px-2 bg-gray-50/0 rounded-lg">
<div className="w-full flex items-center gap-1 bg-gray-50/0 rounded-lg">
<p className="px-2 grow m-0">{ title }</p>
<Download file={ svg } type="svg" />
<Download file={ png } type="png" />
Expand Down
2 changes: 1 addition & 1 deletion src/components/BrandAssets/Download.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface IDownload {

function Download({ file, type }: IDownload) {
return (
<a target="\_blank" href={ file } download className="border border-solid py-1 px-3 border-slate-400 rounded-lg flex items-center text-sm font-mono font-bold">
<a target="\_blank" href={ file } download className="border border-solid py-1 px-3 border-slate-400/50 rounded-lg flex items-center text-sm font-mono font-bold">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" className="w-4 h-4 pr-1">
<path d="M10.75 2.75a.75.75 0 00-1.5 0v8.614L6.295 8.235a.75.75 0 10-1.09 1.03l4.25 4.5a.75.75 0 001.09 0l4.25-4.5a.75.75 0 00-1.09-1.03l-2.955 3.129V2.75z" />
<path d="M3.5 12.75a.75.75 0 00-1.5 0v2.5A2.75 2.75 0 004.75 18h10.5A2.75 2.75 0 0018 15.25v-2.5a.75.75 0 00-1.5 0v2.5c0 .69-.56 1.25-1.25 1.25H4.75c-.69 0-1.25-.56-1.25-1.25v-2.5z" />
Expand Down

0 comments on commit 8694e1b

Please sign in to comment.