mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-07 23:47:53 +08:00
Improve Bin sizing
This commit is contained in:
parent
bce12c16a9
commit
cb151fdaa2
1 changed files with 4 additions and 3 deletions
|
@ -59,12 +59,13 @@ defmodule LivebookWeb.SessionLive.BinComponent do
|
|||
spellcheck="false"
|
||||
autofocus />
|
||||
</form>
|
||||
<div class="flex flex-col space-y-8 h-[30rem] pt-3">
|
||||
<div class="flex flex-col space-y-8 min-h-[30rem] pt-3">
|
||||
<%= for {%{cell: cell} = entry, index} <- Enum.take(@matching_entries, @limit) |> Enum.with_index(1) do %>
|
||||
<div class="flex flex-col space-y-1 pb-3">
|
||||
<div class="flex flex-col space-y-1">
|
||||
<div class="flex justify-between items-center">
|
||||
<p class="text-sm text-gray-700">
|
||||
<span class="font-semibold">#<%= index %> <%= Cell.type(cell) |> Atom.to_string() |> String.capitalize() %></span> cell
|
||||
<%= index %>.
|
||||
<span class="font-semibold"><%= Cell.type(cell) |> Atom.to_string() |> String.capitalize() %></span> cell
|
||||
deleted from <span class="font-semibold">“<%= entry.section_name %>”</span> section
|
||||
<span class="font-semibold">
|
||||
<%= entry.deleted_at |> DateTime.to_naive() |> Livebook.Utils.Time.time_ago_in_words() %> ago
|
||||
|
|
Loading…
Reference in a new issue