diff options
| author | Eddie Dover <ed@eddiedover.dev> | 2022-10-05 14:24:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-05 14:24:02 -0700 |
| commit | 0e409a9f96201a429dca2e82f7a8ed830dcdb1c0 (patch) | |
| tree | 8704888adebd786d22f527e03e91c5c56a8609dd | |
| parent | d58001c323b935f3b8266dd5aade2a9ddc5bee5f (diff) | |
| download | decky-loader-0e409a9f96201a429dca2e82f7a8ed830dcdb1c0.tar.gz decky-loader-0e409a9f96201a429dca2e82f7a8ed830dcdb1c0.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.tsx | 15 |
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)} |
