From b08b5ae82c519d88ce4ff6fbcd83888baae3cada Mon Sep 17 00:00:00 2001 From: David Kalmakoff <69595332+david-kalmakoff@users.noreply.github.com> Date: Tue, 5 Nov 2024 05:06:33 -0600 Subject: [PATCH] fix: table overflow and word wrapping (#720) - applications (table) - clients (table) - plugins (table, info card word wrapping, and card padding) Co-authored-by: David Kalmakoff --- ui/src/application/Applications.tsx | 2 +- ui/src/client/Clients.tsx | 2 +- ui/src/plugin/PluginDetailView.tsx | 60 +++++++++++++++++------------ ui/src/plugin/Plugins.tsx | 2 +- ui/src/user/Users.tsx | 2 +- 5 files changed, 40 insertions(+), 28 deletions(-) diff --git a/ui/src/application/Applications.tsx b/ui/src/application/Applications.tsx index 561e997a..7f3836c4 100644 --- a/ui/src/application/Applications.tsx +++ b/ui/src/application/Applications.tsx @@ -59,7 +59,7 @@ class Applications extends Component> { } maxWidth={1000}> - + diff --git a/ui/src/client/Clients.tsx b/ui/src/client/Clients.tsx index 4fc29ebc..190cb87e 100644 --- a/ui/src/client/Clients.tsx +++ b/ui/src/client/Clients.tsx @@ -54,7 +54,7 @@ class Clients extends Component> { }> - +
diff --git a/ui/src/plugin/PluginDetailView.tsx b/ui/src/plugin/PluginDetailView.tsx index dc6dc11c..0a27fad3 100644 --- a/ui/src/plugin/PluginDetailView.tsx +++ b/ui/src/plugin/PluginDetailView.tsx @@ -131,29 +131,41 @@ const PanelWrapper: React.FC = ({ }) => { const Icon = icon; return ( - - - {Icon ? ( - - -   - - ) : null} - {name} - {refresh ? ( - - ) : null} - - {description ? {description} : null} -
-
{children}
-
+
+ + + {Icon ? ( + + +   + + ) : null} + {name} + {refresh ? ( + + ) : null} + + {description ? {description} : null} +
+
{children}
+
+
); }; @@ -225,7 +237,7 @@ class PluginInfo extends Component<{pluginInfo: IPlugin}> { }, } = this; return ( -
+
{name ? ( Name: {name} diff --git a/ui/src/plugin/Plugins.tsx b/ui/src/plugin/Plugins.tsx index ce726f71..810253ce 100644 --- a/ui/src/plugin/Plugins.tsx +++ b/ui/src/plugin/Plugins.tsx @@ -27,7 +27,7 @@ class Plugins extends Component> { return ( - +
diff --git a/ui/src/user/Users.tsx b/ui/src/user/Users.tsx index df71c8b9..7e6f6654 100644 --- a/ui/src/user/Users.tsx +++ b/ui/src/user/Users.tsx @@ -80,7 +80,7 @@ class Users extends Component & Stores<'userStore'>> { }> - +