summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2018-05-25 11:57:01 -0500
committerClement Ho <ClemMakesApps@gmail.com>2018-05-25 11:57:01 -0500
commitb20f4135c780e0aa8cde1eca9939f214c040d0ce (patch)
tree4c0a9836e6c1cfd2712a089164383c50d27c4ad7
parent5322de32d17ffd65056d764ccbacfd5921aac182 (diff)
downloadgitlab-ce-b20f4135c780e0aa8cde1eca9939f214c040d0ce.tar.gz
Fix active sessions card layout
-rw-r--r--app/views/profiles/active_sessions/_active_session.html.haml2
-rw-r--r--app/views/profiles/active_sessions/index.html.haml5
2 files changed, 4 insertions, 3 deletions
diff --git a/app/views/profiles/active_sessions/_active_session.html.haml b/app/views/profiles/active_sessions/_active_session.html.haml
index d40b771f48b..d198bfc80db 100644
--- a/app/views/profiles/active_sessions/_active_session.html.haml
+++ b/app/views/profiles/active_sessions/_active_session.html.haml
@@ -1,6 +1,6 @@
- is_current_session = active_session.current?(session)
-%li
+%li.list-group-item
.pull-left.append-right-10{ data: { toggle: 'tooltip' }, title: active_session.human_device_type }
= active_session_device_type_icon(active_session)
diff --git a/app/views/profiles/active_sessions/index.html.haml b/app/views/profiles/active_sessions/index.html.haml
index d0250bb4eab..8688a52843d 100644
--- a/app/views/profiles/active_sessions/index.html.haml
+++ b/app/views/profiles/active_sessions/index.html.haml
@@ -10,5 +10,6 @@
.col-lg-8
.append-bottom-default
- %ul.well-list
- = render partial: 'profiles/active_sessions/active_session', collection: @sessions
+ .card.border-0
+ %ul.list-group.list-group-flush
+ = render partial: 'profiles/active_sessions/active_session', collection: @sessions