Skip to content

Commit 0cc83da

Browse files
Integration UI fixes (#9647)
Signed-off-by: Artem Savchenko <[email protected]>
1 parent 29257e9 commit 0cc83da

File tree

3 files changed

+5
-47
lines changed

3 files changed

+5
-47
lines changed

packages/ui/src/components/StatusBadge.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@
1818
user-select: none;
1919
color: var(--theme-content-color);
2020
&.OK {
21-
color: var(--theme-won-color);
21+
color: var(--theme-state-positive-color);
2222
}
2323
&.WARNING {
2424
color: var(--theme-warning-color);
2525
}
2626
&.ERROR {
27-
color: var(--theme-lost-color);
27+
color: var(--theme-state-negative-color);
2828
}
2929
}
3030

plugins/setting-resources/src/components/integrations/Integrations.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@
288288
.cards_grid {
289289
display: grid;
290290
grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
291-
grid-auto-rows: minmax(13.5rem, auto);
291+
grid-auto-rows: minmax(14.5rem, auto);
292292
grid-gap: 1.5rem;
293293
padding: 1.5rem;
294294
overflow: auto;

plugins/telegram-resources/src/components/Configure.svelte

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@
510510
<svelte:fragment slot="footer">
511511
<div class="footer-container">
512512
<span class="text-normal font-medium content-color">
513-
<Label label={telegram.string.SyncedChannels} />: {syncedChannelsCount}
513+
<Label label={telegram.string.SyncedChannels} />
514+
{syncedChannelsCount}
514515
</span>
515516
</div>
516517
</svelte:fragment>
@@ -525,12 +526,6 @@
525526
overflow: hidden;
526527
}
527528
528-
.search-section {
529-
display: flex;
530-
flex-direction: column;
531-
gap: 0.5rem;
532-
}
533-
534529
.actions-container {
535530
display: flex;
536531
align-items: center;
@@ -542,12 +537,6 @@
542537
gap: 0.75rem;
543538
}
544539
545-
.search-results {
546-
font-size: 0.875rem;
547-
color: var(--theme-content-trans-color);
548-
padding-left: 0.5rem;
549-
}
550-
551540
.no-results {
552541
display: flex;
553542
justify-content: center;
@@ -589,32 +578,6 @@
589578
}
590579
}
591580
592-
.header {
593-
display: flex;
594-
justify-content: space-between;
595-
align-items: center;
596-
padding: 1rem;
597-
border-bottom: 1px solid var(--theme-bg-divider-color);
598-
}
599-
600-
.selection-controls {
601-
display: flex;
602-
align-items: center;
603-
gap: 0.5rem;
604-
}
605-
606-
.bulk-actions {
607-
display: flex;
608-
align-items: center;
609-
gap: 0.75rem;
610-
}
611-
612-
.selected-count {
613-
font-size: 0.875rem;
614-
color: var(--theme-content-color);
615-
font-weight: 500;
616-
}
617-
618581
.error-container {
619582
display: flex;
620583
align-items: center;
@@ -685,11 +648,6 @@
685648
padding-right: 1rem;
686649
}
687650
688-
.sync-label {
689-
font-size: 0.875rem;
690-
color: var(--theme-dark-color);
691-
}
692-
693651
.channel-access {
694652
min-width: 100px;
695653
}

0 commit comments

Comments
 (0)