From 4852e5df34389259e4a314a3da34c46dcb0295e4 Mon Sep 17 00:00:00 2001 From: Joe <33972521+hnb-ku@users.noreply.github.com> Date: Sat, 7 Jul 2018 12:28:04 +0800 Subject: [PATCH] FIX: mobile /admin/users style fixes --- .../stylesheets/common/admin/users.scss | 44 ++++++++++++++----- 1 file changed, 34 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/common/admin/users.scss b/app/assets/stylesheets/common/admin/users.scss index 021d8320ea9..a92ddd8f35b 100644 --- a/app/assets/stylesheets/common/admin/users.scss +++ b/app/assets/stylesheets/common/admin/users.scss @@ -195,16 +195,6 @@ // mobile styles .mobile-view .admin-users.admin-user { - h1 { - margin: 15px 0 5px 0; - } - .user-controls { - text-align: inherit; - } - .controls { - width: unset; - margin-top: 0.5em; - } .display-row { flex-direction: column; align-items: flex-start; @@ -216,4 +206,38 @@ width: 300px; } } + + .long-value { + word-wrap: break-word; + max-width: 100%; + margin: 0; + button { + margin: 5px 0; + display: block; + } + } + + h1 { + margin: 15px 0 5px 0; + } + + .user-controls { + text-align: inherit; + } + + .controls { + width: unset; + margin-top: 5px; + } + + .associations button { + margin: 5px 5px 0 0; + } + + .ip-lookup { + display: block; + .location-box { + left: 0; + } + } }