mirror of
				https://github.com/livebook-dev/livebook.git
				synced 2025-10-31 07:46:18 +08:00 
			
		
		
		
	Reduce space between section header and first paragraph (#124)
* Reduce space between section header and first paragraph * Remove mb-1 on markdown Because of line height, there is already enough spacing between the buttons and the content.
This commit is contained in:
		
							parent
							
								
									a1bf2d999e
								
							
						
					
					
						commit
						83a092fa38
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -16,7 +16,7 @@ defmodule LivebookWeb.CellComponent do | |||
| 
 | ||||
|   def render_cell_content(%{cell_view: %{type: :markdown}} = assigns) do | ||||
|     ~L""" | ||||
|     <div class="mb-1 flex items-center justify-end"> | ||||
|     <div class="flex items-center justify-end"> | ||||
|       <div class="relative z-10 flex items-center justify-end space-x-2" data-element="actions"> | ||||
|         <span class="tooltip top" aria-label="Edit content"> | ||||
|           <button class="icon-button" data-element="enable-insert-mode-button"> | ||||
|  |  | |||
|  | @ -24,7 +24,7 @@ defmodule LivebookWeb.SectionComponent do | |||
|           </span> | ||||
|         </div> | ||||
|       </div> | ||||
|       <div class="container py-2"> | ||||
|       <div class="container"> | ||||
|         <div class="flex flex-col space-y-1"> | ||||
|           <%= for {cell_view, index} <- Enum.with_index(@section_view.cell_views) do %> | ||||
|             <%= live_component @socket, LivebookWeb.InsertButtonsComponent, | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue