Skip to content

Commit

Permalink
Style fixes. finos#33
Browse files Browse the repository at this point in the history
  • Loading branch information
AttilaMihaly committed Dec 2, 2020
1 parent 3ca86cd commit 24cefa6
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 9 deletions.
17 changes: 10 additions & 7 deletions cli/src/Morphir/Web/DevelopMain.elm
Original file line number Diff line number Diff line change
Expand Up @@ -103,19 +103,19 @@ view model =
(column [ width fill ]
[ row
[ width fill
, padding 10
, Background.color blue
]
[ row
[ padding 10
, width fill
[ width fill
]
[ image
[ height (px 60)
[ height (px 50)
]
{ src = "assets/2020_Morphir_Logo_Horizontal_WHT.svg"
, description = "Morphir"
{ src = "assets/2020_Morphir_Logo_Icon_WHT.svg"
, description = "Morphir Logo"
}
, theme.heading 3 "Development Server"
, theme.heading 1 "Morphir Development Server"
]
, case model of
WaitingForResponse ->
Expand All @@ -127,7 +127,10 @@ view model =
, label = "Reload"
}
]
, viewResult model
, el
[ padding 10
]
(viewResult model)
]
)

Expand Down
22 changes: 22 additions & 0 deletions cli/web/assets/2020_Morphir_Logo_Icon_WHT.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/Morphir/Web/Theme/Light.elm
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ theme scaled =
, heading =
\level label ->
el
[ Font.size (scaled (8 - level))
, paddingXY (scaled level) (scaled (4 - level))
[ Font.size (scaled (6 - level))
, paddingXY (scaled level) (scaled (3 - level))
]
(text label)
}
Expand Down

0 comments on commit 24cefa6

Please sign in to comment.