mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-22 23:08:50 +08:00
Better handle large titles no notebook cards
This commit is contained in:
parent
c03420798f
commit
eb15e12b1b
1 changed files with 2 additions and 2 deletions
|
@ -9,12 +9,12 @@ defmodule LivebookWeb.NotebookCardsComponent do
|
||||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5" role="group">
|
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5" role="group">
|
||||||
<%= for {info, idx} <- Enum.with_index(@notebook_infos) do %>
|
<%= for {info, idx} <- Enum.with_index(@notebook_infos) do %>
|
||||||
<div
|
<div
|
||||||
class="flex flex-col p-5 border bg-gray-50 border-gray-300 rounded-lg"
|
class="flex flex-col p-4 border bg-gray-50 border-gray-300 rounded-lg"
|
||||||
data-test-idx={idx}
|
data-test-idx={idx}
|
||||||
>
|
>
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<span class="tooltip top" data-tooltip={info.file.path}>
|
<span class="tooltip top" data-tooltip={info.file.path}>
|
||||||
<span class="text-gray-800 text-lg font-medium">
|
<span class="text-gray-800 font-medium">
|
||||||
<%= info.name %>
|
<%= info.name %>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
|
|
Loading…
Reference in a new issue