diff --git a/src/Ombi/ClientApp/app/usermanagement/usermanagement.component.html b/src/Ombi/ClientApp/app/usermanagement/usermanagement.component.html index 96ee861c1..f1e94243d 100644 --- a/src/Ombi/ClientApp/app/usermanagement/usermanagement.component.html +++ b/src/Ombi/ClientApp/app/usermanagement/usermanagement.component.html @@ -4,7 +4,7 @@ -
@@ -44,28 +44,28 @@ | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+ | - | + | {{u.userName}} | -+ | {{u.alias}} | -+ | {{u.emailAddress}} | -+ |
{{claim.value}}
|
- + | {{u.lastLoggedIn | date: 'short'}} | -+ | Local User Plex User Emby User diff --git a/src/Ombi/ClientApp/styles/base.scss b/src/Ombi/ClientApp/styles/base.scss index a049727d0..f372d7f6c 100644 --- a/src/Ombi/ClientApp/styles/base.scss +++ b/src/Ombi/ClientApp/styles/base.scss @@ -858,4 +858,47 @@ a > h4:hover { .card { padding-top:15px; +} + +@media only screen and (max-width: 768px) { + + .table-usermanagement { + /* Force table to not be like tables anymore */ + display: block; + + thead, tbody, th, td, tr { + display: block; + } + + /* Hide table headers (but not display: none;, for accessibility) */ + thead tr { + position: absolute; + top: -9999px; + left: -9999px; + } + + td { + /* Behave like a "row" */ + border: none; + border-bottom: 1px solid #eee; + position: relative; + padding-left: 50% $i; + min-height: 25px; + } + + td:before { + /* Now like a table header */ + position: absolute; + /* Top/left values mimic padding */ + top: 6px; + left: 6px; + width: 45%; + padding-right: 10px; + white-space: nowrap; + } + /* Label the data */ + .td-labelled:before { + content: attr(data-label) + } + } } \ No newline at end of file |