-
Notifications
You must be signed in to change notification settings - Fork 674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NOISSUE - Improve UI styling #719
Conversation
Signed-off-by: drasko <drasko.draskovic@gmail.com>
Signed-off-by: drasko <drasko.draskovic@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #719 +/- ##
==========================================
- Coverage 85.63% 85.58% -0.05%
==========================================
Files 64 64
Lines 4011 4011
==========================================
- Hits 3435 3433 -2
- Misses 394 395 +1
- Partials 182 183 +1
Continue to review full report at Codecov.
|
LGTM |
@@ -278,10 +278,10 @@ view model = | |||
|> Card.header [] | |||
[ Grid.row [] | |||
[ Grid.col [ Col.attrs [ align "left" ] ] | |||
[ h3 [ Spacing.mt2 ] [ text "Channels" ] | |||
[ h3 [] [ div [ class "table_header" ] [ i [ style "margin-right" "15px", class faIcons.channels ] [], text "Channels" ] ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need to have css style embedded inside html here?
Card.config | ||
[] | ||
|> Card.headerH3 [] [ text title ] | ||
|> Card.headerH3 [] [ div [ class "table_header" ] [ i [ style "margin-right" "15px", class faClass ] [], text title ] ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Embedded css style attrib?
(Html.map ChannelMsg (Helpers.genPagination model.channels.channels.total (Helpers.offsetToPage model.channels.offset model.channels.limit) Channel.SubmitPage)) | ||
) | ||
] | ||
, Grid.row [] | ||
[ Grid.col [] | ||
[ Card.config [] | ||
|> Card.headerH3 [] [ text "Message" ] | ||
|> Card.headerH3 [] [ div [ class "table_header" ] [ i [ style "margin-right" "15px", class faIcons.messages ] [], text "Message" ] ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This div repeats all over again. Better to make a helper func to generate this div.
* Add styling Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix errors Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix env Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add styling Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix errors Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix env Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add styling Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix errors Signed-off-by: drasko <drasko.draskovic@gmail.com> * Fix env Signed-off-by: drasko <drasko.draskovic@gmail.com>
No description provided.