mirror of
https://github.com/SteamDeckHomebrew/decky-loader.git
synced 2026-07-11 20:21:57 +00:00
Better wrapping of plugin tags (#150)
This commit is contained in:
@@ -119,14 +119,18 @@ const PluginCard: FC<PluginCardProps> = ({ plugin }) => {
|
|||||||
<p className={joinClassNames(staticClasses.PanelSectionRow)}>
|
<p className={joinClassNames(staticClasses.PanelSectionRow)}>
|
||||||
<span>Author: {plugin.author}</span>
|
<span>Author: {plugin.author}</span>
|
||||||
</p>
|
</p>
|
||||||
<p className={joinClassNames('deckyStoreCardTagsContainer', staticClasses.PanelSectionRow)}>
|
<p className={joinClassNames('deckyStoreCardTagsContainer', staticClasses.PanelSectionRow)} style={{
|
||||||
<span>Tags:</span>
|
padding: '0 16px',
|
||||||
|
display: 'flex',
|
||||||
|
flexWrap: 'wrap',
|
||||||
|
gap: '5px 10px',
|
||||||
|
}}>
|
||||||
|
<span style={{padding: '5px 0'}}>Tags:</span>
|
||||||
{plugin.tags.map((tag: string) => (
|
{plugin.tags.map((tag: string) => (
|
||||||
<span
|
<span
|
||||||
className="deckyStoreCardTag"
|
className="deckyStoreCardTag"
|
||||||
style={{
|
style={{
|
||||||
padding: '5px',
|
padding: '5px',
|
||||||
marginRight: '10px',
|
|
||||||
borderRadius: '5px',
|
borderRadius: '5px',
|
||||||
background: tag == 'root' ? '#842029' : '#ACB2C947',
|
background: tag == 'root' ? '#842029' : '#ACB2C947',
|
||||||
}}
|
}}
|
||||||
@@ -140,7 +144,6 @@ const PluginCard: FC<PluginCardProps> = ({ plugin }) => {
|
|||||||
style={{
|
style={{
|
||||||
color: '#232120',
|
color: '#232120',
|
||||||
padding: '5px',
|
padding: '5px',
|
||||||
marginRight: '10px',
|
|
||||||
borderRadius: '5px',
|
borderRadius: '5px',
|
||||||
background: '#EDE841',
|
background: '#EDE841',
|
||||||
}}
|
}}
|
||||||
|
|||||||
Reference in New Issue
Block a user