summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEddie Dover <ed@eddiedover.dev>2022-10-05 14:24:02 -0700
committerGitHub <noreply@github.com>2022-10-05 14:24:02 -0700
commit0e409a9f96201a429dca2e82f7a8ed830dcdb1c0 (patch)
tree8704888adebd786d22f527e03e91c5c56a8609dd
parentd58001c323b935f3b8266dd5aade2a9ddc5bee5f (diff)
downloaddecky-loader-2.2.2-pre2.tar.gz
decky-loader-2.2.2-pre2.zip
Add plugin description to Store PluginCard (#196)v2.2.2-pre2
* Add plugin description to Store PluginCard The description for plugins is available on the web but not in the store, this attempts to fix the issue. Unfortunately, my current env is completely Windows based so I cannot test this change locally, and setting up an Arch env in WSL2 is proving to be more time consuming than such a simple PR deserves. * Removed prefix from description * Apply suggestions from code review Co-authored-by: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> * Inline style fix. Co-authored-by: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> * Prettier formatting fix * Apply suggestions from code review Co-authored-by: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> Co-authored-by: Party Wumpus <48649272+PartyWumpus@users.noreply.github.com>
-rw-r--r--frontend/src/components/store/PluginCard.tsx15
1 files changed, 13 insertions, 2 deletions
diff --git a/frontend/src/components/store/PluginCard.tsx b/frontend/src/components/store/PluginCard.tsx
index a6e9458a..a30c3d6b 100644
--- a/frontend/src/components/store/PluginCard.tsx
+++ b/frontend/src/components/store/PluginCard.tsx
@@ -113,8 +113,19 @@ const PluginCard: FC<PluginCardProps> = ({ plugin }) => {
}}
className="deckyStoreCardInfo"
>
- <p className={joinClassNames(staticClasses.PanelSectionRow)}>
- <span>Author: {plugin.author}</span>
+ <p className={joinClassNames(staticClasses.PanelSectionRow)} style={{ marginTop: '0px', marginLeft: '16px'}}>
+ <span style={{ paddingLeft: '0px' }}>Author: {plugin.author}</span>
+ </p>
+ <p
+ className={joinClassNames(staticClasses.PanelSectionRow)}
+ style={{
+ marginLeft: '16px',
+ marginTop: '0px',
+ marginBottom: '0px',
+ marginRight: '16px'
+ }}
+ >
+ <span style={{ paddingLeft: '0px' }}>{plugin.description}</span>
</p>
<p
className={joinClassNames('deckyStoreCardTagsContainer', staticClasses.PanelSectionRow)}