diff --git a/app/assets/stylesheets/users.css b/app/assets/stylesheets/users.css index 32de82ac2..5aaab5285 100644 --- a/app/assets/stylesheets/users.css +++ b/app/assets/stylesheets/users.css @@ -1,7 +1,8 @@ .users-list { - max-block-size: 40dvh; - overflow: auto; - padding-block: 1ch; + --btn-size: 4ch; + --avatar-size: var(--btn-size); + + inline-size: 100%; li + li { margin-block-start: 1ch; diff --git a/app/assets/stylesheets/utilities.css b/app/assets/stylesheets/utilities.css index 1b87d121a..3c89367e6 100644 --- a/app/assets/stylesheets/utilities.css +++ b/app/assets/stylesheets/utilities.css @@ -191,17 +191,7 @@ /* Lists */ :where(.list-style-none) { margin: 0 auto; - min-inline-size: 0; padding: 0; - - li { - display: block; - margin: 0; - max-inline-size: 100%; - min-inline-size: 0; - padding: 0; - text-align: start; - } } /* Accessibility */ diff --git a/app/views/accounts/_user.html.erb b/app/views/accounts/_user.html.erb index f176236c3..8846d329e 100644 --- a/app/views/accounts/_user.html.erb +++ b/app/views/accounts/_user.html.erb @@ -1,9 +1,8 @@ -
  • - <%= avatar_tag user, hidden_for_screen_reader: true %> - - - <%= link_to user.name, user, class: "txt-ink btn btn--plain" %> - +
  • + <%= link_to user, class: "txt-ink flex gap-half align-center min-width" do %> + <%= avatar_preview_tag user, hidden_for_screen_reader: true %> + <%= user.name %> + <% end %> diff --git a/app/views/accounts/settings/_entropy_configuration.html.erb b/app/views/accounts/settings/_entropy_configuration.html.erb index 68d775a83..152aaf4f4 100644 --- a/app/views/accounts/settings/_entropy_configuration.html.erb +++ b/app/views/accounts/settings/_entropy_configuration.html.erb @@ -1,5 +1,5 @@ -
    - Do or Die +
    +

    Do or Die

    Choose default settings for this account. You can override them in individual collections.

    <%= render "entropy/auto_close", model: account.default_entropy_configuration, url: account_entropy_configuration_path %>
    diff --git a/app/views/accounts/settings/_users.html.erb b/app/views/accounts/settings/_users.html.erb index cf5a4bced..6eb537f7f 100644 --- a/app/views/accounts/settings/_users.html.erb +++ b/app/views/accounts/settings/_users.html.erb @@ -1,12 +1,10 @@ -
    - People on the account +
    +

    People on the account

    <%#= render "accounts/invite" # Scheduled work in https://3.basecamp.com/2914079/buckets/37331921/todos/8746162337 %> -
    - + -
    - <%= render partial: "accounts/user", collection: users %> -
    -
    +
      + <%= render partial: "accounts/user", collection: users %> +