diff --git a/public_html/media/css/user-list.css b/public_html/media/css/user-list.css index 7680a836..a47915c6 100644 --- a/public_html/media/css/user-list.css +++ b/public_html/media/css/user-list.css @@ -1,27 +1,3 @@ -.user img { - width: 100px; - height: 100px; - float: left; - margin-right: 0.5em; -} -.user h1 { - margin-top: 0; - margin-bottom: 0.25em; -} - -.user { - line-height: 1.5em; - margin-bottom: 1em; - margin-right: 1em; - display: inline-block; -} - -.user .details { - display: inline-block; - max-width: 25em; - white-space: pre; -} - nav.sort-styles ul { list-style-type: none; margin: 0 0 2.5em 0; @@ -37,3 +13,39 @@ nav.sort-styles li { nav.sort-styles li.active { border-bottom: 3px solid firebrick; } + +.users-wrapper { + text-align: center; +} +.users { + column-width: 20em; + -moz-column-width: 20em; + -webkit-column-width: 20em; +} + +.user { + text-align: initial; + line-height: 1.5em; + margin-bottom: 1em; + margin-right: 1em; + white-space: pre; +} + +.user a.avatar { + display: block; + float: left; +} +.user img { + width: 100px; + height: 100px; + margin-right: 1em; +} +.user .details { + display: inline-block; + text-overflow: ellipsis; +} + +.user h1 { + margin-top: 0; + margin-bottom: 0.25em; +} diff --git a/src/Views/user-list.phtml b/src/Views/user-list.phtml index eaf04c59..bcc6eccc 100644 --- a/src/Views/user-list.phtml +++ b/src/Views/user-list.phtml @@ -36,25 +36,27 @@ if ($this->context->user->hasEnabledEndlessScrolling()) context->transport->users)): ?>

No users to show.

-
- context->transport->users as $user): ?> -
- - <?php echo $user->name ?> - -
-

- - name ?> - -

+
+
+ context->transport->users as $user): ?> +
+ + <?php echo $user->name ?> + +
+

+ + name ?> + +

-
Date registered: joinDate) ?>
-
Favorite count: getFavoriteCount() ?>
-
Post count: getPostCount() ?>
+
Registered: joinDate) ?>
+
Favorite count: getFavoriteCount() ?>
+
Post count: getPostCount() ?>
+
-
- + +
renderFile('paginator') ?>