diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-08-09 01:02:39 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-08-09 21:18:24 +0300 |
commit | c1824ac75a1a3e6a04ac752e70c922528a56e0dc (patch) | |
tree | c30cf9ba581aeab5d187f62b9f74e83d83dc3da5 /app/views/shared | |
parent | c23961710bbbd2b361cd8e50f29063e568490dc6 (diff) |
Fix styling of all card elements
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/milestones/_issuables.html.haml | 4 | ||||
-rw-r--r-- | app/views/shared/plugins/_index.html.haml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/milestones/_issuables.html.haml b/app/views/shared/milestones/_issuables.html.haml index ee6354b1c28..ee97f0172da 100644 --- a/app/views/shared/milestones/_issuables.html.haml +++ b/app/views/shared/milestones/_issuables.html.haml @@ -2,8 +2,8 @@ - primary = local_assigns.fetch(:primary, false) - panel_class = primary ? 'bg-primary text-white' : '' -.card{ class: panel_class } - .card-header +.card + .card-header{ class: panel_class } .title = title - if show_counter diff --git a/app/views/shared/plugins/_index.html.haml b/app/views/shared/plugins/_index.html.haml index 7bcc54e7459..9d230d12be2 100644 --- a/app/views/shared/plugins/_index.html.haml +++ b/app/views/shared/plugins/_index.html.haml @@ -19,5 +19,5 @@ .monospace = File.basename(file) - else - %p.card.bg-light.text-center - No plugins found. + .card.bg-light.text-center + .nothing-here-block No plugins found. |