Skip to content

Commit

Permalink
Merge pull request #81 from seki-seki/fix/long-name-in-agent
Browse files Browse the repository at this point in the history
Fix layout in agent detail view
  • Loading branch information
kawasima authored Dec 3, 2016
2 parents 0a67906 + 45f119b commit 524a49a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/clj/job_streamer/console/style.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion src/cljs/job_streamer/console/components/agents.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 524a49a

Please sign in to comment.