From 45f119b2b6dc621f5115b8bcfd6cf89d9562a8b0 Mon Sep 17 00:00:00 2001 From: seki Date: Fri, 18 Nov 2016 00:56:53 +0900 Subject: [PATCH] Fix layout in agent detail view --- src/clj/job_streamer/console/style.clj | 5 +++++ src/cljs/job_streamer/console/components/agents.cljs | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/clj/job_streamer/console/style.clj b/src/clj/job_streamer/console/style.clj index 9bf775e..7f47bb4 100644 --- a/src/clj/job_streamer/console/style.clj +++ b/src/clj/job_streamer/console/style.clj @@ -19,6 +19,11 @@ [:td.job-name {:max-width (px 280)} [:div {:overflow "hidden" :text-overflow "ellipsis"}]]] + [:table.ui.compact.table + [:td.job-name {:max-width (px 110)} + [:div {:overflow "hidden" + :white-space "nowrap" + :text-overflow "ellipsis"}]]] [:div.breadcrumb [:div.section {:max-width (px 320) :white-space "nowrap" diff --git a/src/cljs/job_streamer/console/components/agents.cljs b/src/cljs/job_streamer/console/components/agents.cljs index cae423b..05cf783 100644 --- a/src/cljs/job_streamer/console/components/agents.cljs +++ b/src/cljs/job_streamer/console/components/agents.cljs @@ -49,7 +49,8 @@ (for [execution executions] [:tr [:td ""] - [:td (:job/name execution)] + [:td.job-name + [:div (:job/name execution)]] [:td (fmt/date-medium (:job-execution/start-time execution))] [:td (fmt/duration-between (:job-execution/start-time execution)