From 805705cc401871be49cc27726160c11dc79d60f7 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 6 Jun 2018 12:15:17 -0400 Subject: [PATCH] Fix positioning of Dockerfile command view --- static/css/directives/ui/build-logs-view.css | 14 -------------- .../dockerfile-command.component.css | 7 ++++--- 2 files changed, 4 insertions(+), 17 deletions(-) diff --git a/static/css/directives/ui/build-logs-view.css b/static/css/directives/ui/build-logs-view.css index 92c352872..415231fc8 100644 --- a/static/css/directives/ui/build-logs-view.css +++ b/static/css/directives/ui/build-logs-view.css @@ -85,21 +85,7 @@ } .build-logs-view .container-header .label { - padding-top: 4px; - text-align: right; - margin-left: 2px; - margin-right: 10px; - width: 86px; - display: inline-block; - - border-right: 4px solid #aaa; background-color: #717171; - - position: relative; -} - -.build-logs-view .dockerfile-command { - position: inherit; } .build-logs-view .dockerfile-command .command-title { diff --git a/static/js/directives/ui/dockerfile-command/dockerfile-command.component.css b/static/js/directives/ui/dockerfile-command/dockerfile-command.component.css index 89ce18853..03df8bf97 100644 --- a/static/js/directives/ui/dockerfile-command/dockerfile-command.component.css +++ b/static/js/directives/ui/dockerfile-command/dockerfile-command.component.css @@ -27,12 +27,13 @@ } .dockerfile-command { + display: block; position: relative; + padding-left: 96px; } .dockerfile-command .command-title { font-family: Consolas, "Lucida Console", Monaco, monospace !important; - padding-left: 90px; display: inline-block; } @@ -54,6 +55,6 @@ background-color: #333; position: absolute; - top: 0px; - left: -4px; + top: 2px; + left: 0px; }