mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-01-06 15:07:52 +08:00
Prevent smart cell menu from overlapping with insert buttons (#1060)
This commit is contained in:
parent
9d065c62ed
commit
afce2e6047
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ defmodule LivebookWeb.SessionLive.InsertButtonsComponent do
|
||||||
role="toolbar"
|
role="toolbar"
|
||||||
aria-label="insert new"
|
aria-label="insert new"
|
||||||
data-element="insert-buttons">
|
data-element="insert-buttons">
|
||||||
<div class={"w-full absolute z-10 #{if(@persistent, do: "opacity-100", else: "opacity-0")} hover:opacity-100 focus-within:opacity-100 flex space-x-2 justify-center items-center"}>
|
<div class={"w-full absolute z-10 focus-within:z-[11] #{if(@persistent, do: "opacity-100", else: "opacity-0")} hover:opacity-100 focus-within:opacity-100 flex space-x-2 justify-center items-center"}>
|
||||||
<button class="button-base button-small"
|
<button class="button-base button-small"
|
||||||
phx-click="insert_cell_below"
|
phx-click="insert_cell_below"
|
||||||
phx-value-type="markdown"
|
phx-value-type="markdown"
|
||||||
|
|
Loading…
Reference in a new issue