mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-09-09 06:24:29 +08:00
Added margin on copy button (#796)
* fix handleDocumentFocus error * format correction * Update assets/js/session/index.js Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com> * format correction * Update assets/js/session/index.js Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com> * Move basic view to the top * Added margin on copy button * Update lib/livebook_web/live/output/text_component.ex Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com> * Update lib/livebook_web/live/output/text_component.ex Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
parent
2688a685b9
commit
aa8f431608
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ defmodule LivebookWeb.Output.TextComponent do
|
|||
<div data-content class="overflow-auto whitespace-pre font-editor text-gray-500 tiny-scrollbar"
|
||||
id={"virtualized-text-#{@id}-content"}
|
||||
phx-update="ignore"></div>
|
||||
<div class="absolute right-0 top-0 z-10">
|
||||
<div class="absolute right-2 top-0 z-10">
|
||||
<button class="icon-button bg-gray-100"
|
||||
data-element="clipcopy"
|
||||
phx-click={JS.dispatch("lb:clipcopy", to: "#virtualized-text-#{@id}-template")}>
|
||||
|
|
Loading…
Add table
Reference in a new issue