mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-11-07 02:55:24 +00:00
fix: plugin page clipping and badges, match select and textarea sizes
This commit is contained in:
1 parent
2ee31ac9cc
commit
a2308c9d71
12 files changed
+70
-40
No files matched your search
@@ -591,3 +591,8 @@ export function youtubeEmbedUrl(videoId: string | undefined): string | null {
|
||||
? `https://www.youtube-nocookie.com/embed/${videoId}?rel=0`
|
||||
: null;
|
||||
}
|
||||
|
||||
/** True when SourceBadge draws something, so lists can skip the empty slot. */
|
||||
export function hasSourceBadge(source: string): boolean {
|
||||
return source === "community" || source === "custom";
|
||||
}
|
||||
Reference in new issue
Block a user