diff --git a/src/ContainerListItem.react.js b/src/ContainerListItem.react.js index 4899b609..c41e1060 100644 --- a/src/ContainerListItem.react.js +++ b/src/ContainerListItem.react.js @@ -36,7 +36,18 @@ var ContainerListItem = React.createClass({ render: function () { var self = this; var container = this.props.container; - var imageName = container.Config.Image; + var imageNameTokens = container.Config.Image.split('/'); + var repo; + if (imageNameTokens.length > 1) { + repo = imageNameTokens[1]; + } else { + repo = imageNameTokens[0]; + } + var imageName = ( + {container.Config.Image}}> +
{repo}
+
+ ); // Synchronize all animations var style = { diff --git a/styles/left-panel.less b/styles/left-panel.less index 86743edd..e4b7eba9 100644 --- a/styles/left-panel.less +++ b/styles/left-panel.less @@ -135,7 +135,7 @@ } .image { color: @gray-lighter; - font-size: 12px; + font-size: 10px; font-weight: 400; text-overflow: ellipsis; max-width: 140px;