Skip to content

Commit 8f5a1d3

Browse files
committed
fix(plugin-marketplace): add gap to subscription type display
Add a gap of 0.5rem between the icon and the text in the subscription type display. This improves the visual spacing and readability of plugin subscription details.
1 parent 3f21523 commit 8f5a1d3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/desktop-ui-lib/src/lib/settings/plugins/component/plugin-marketplace/plugin-marketplace-detail/plugin-marketplace-detail.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
<div class="plugin-subscription">
115115
<div class="subscription-info">
116116
<div class="subscription-type">
117-
<div class="d-flex align-items-center">
117+
<div class="d-flex align-items-center first">
118118
<nb-icon [icon]="getSubscriptionIcon(subscription.plan?.type)"></nb-icon>
119119
<span>{{ subscription.plan?.name || (subscription.plan?.type | titlecase) }}</span>
120120
</div>

packages/desktop-ui-lib/src/lib/settings/plugins/component/plugin-marketplace/plugin-marketplace-detail/plugin-marketplace-detail.component.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,10 @@
502502
font-weight: 600;
503503
color: var(--gauzy-text-color-1);
504504

505+
div.first {
506+
gap: 0.5rem;
507+
}
508+
505509
nb-icon {
506510
color: var(--color-primary-default);
507511
font-size: 18px;

0 commit comments

Comments
 (0)