From d5e37197f93fcf3509ee1fc06a554c1b6ed8ea6a Mon Sep 17 00:00:00 2001 From: Sean Li Date: Mon, 27 Apr 2015 09:24:02 -0700 Subject: [PATCH] Set fixed size so retina image won't expand. --- src/components/ContainerDetailsSubheader.react.js | 4 ++-- styles/right-panel.less | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/components/ContainerDetailsSubheader.react.js b/src/components/ContainerDetailsSubheader.react.js index 3709bdd376..fa5670e4f7 100644 --- a/src/components/ContainerDetailsSubheader.react.js +++ b/src/components/ContainerDetailsSubheader.react.js @@ -224,14 +224,14 @@ var ContainerDetailsSubheader = React.createClass({ if (this.disableStop()) { startStopToggle = (
-
+
Start
); } else { startStopToggle = (
-
+
Stop
); diff --git a/styles/right-panel.less b/styles/right-panel.less index cbd4baee64..adbe6ace5c 100644 --- a/styles/right-panel.less +++ b/styles/right-panel.less @@ -25,6 +25,10 @@ .action { display: inline-block; position: relative; + img { + width: 42px; + height: 42px; + } &.disabled { opacity: 0.3; }