Skip to content

Commit

Permalink
Merge pull request #663 from garden-io/dashboard-fixes
Browse files Browse the repository at this point in the history
fix(dashboard): dashboard fixes
  • Loading branch information
eysi09 authored Mar 27, 2019
2 parents 3b78b52 + 60c746e commit 0c39ea1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# OS
.DS_STORE

# Logs
*.log
npm-debug.log*
Expand Down
3 changes: 2 additions & 1 deletion dashboard/src/components/graph/graph.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
text-align: center;

span.name {
font-weight: bold;
font-weight: 700;
font-size: 0.9rem;
}
span.type {
display: inline-block;
Expand Down
4 changes: 1 addition & 3 deletions dashboard/src/components/terminal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@ const Timestamp = styled.span`
color: ${colors.gardenGrayLight};
`

// FIXME Use whitespace instead of dots for the sectinon padding.
// For some reason whitespace is not rendered inside spans.
const Terminal: React.SFC<Props> = ({ entries, sectionPad, showServiceName }) => {
return (
<Term className="p-1">
<code>
{entries.map((e, idx) => {
const service = showServiceName
? <Service>{padEnd(e.serviceName, sectionPad + 3, ".")}</Service>
? <Service>{padEnd(e.serviceName, sectionPad + 3, "\u00A0")}</Service>
: ""
return (
<P key={idx}>
Expand Down
4 changes: 2 additions & 2 deletions dashboard/src/containers/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const builtinPages: Page[] = [
url: "",
},
{
title: "Task Graph",
description: "Task Graph",
title: "Stack Graph",
description: "Stack Graph",
path: "/graph",
newWindow: false,
url: "",
Expand Down

0 comments on commit 0c39ea1

Please sign in to comment.