Align livebook logos

This commit is contained in:
José Valim 2022-10-04 08:22:58 +02:00
parent 1039689dcd
commit 6d8ca1fe8d
3 changed files with 4 additions and 4 deletions

View file

@ -50,7 +50,7 @@ defmodule LivebookWeb.HomeLive do
</:topbar_action>
<.update_notification version={@new_version} instructions_url={@update_instructions_url} />
<.memory_notification memory={@memory} app_service_url={@app_service_url} />
<div class="p-4 sm:px-8 md:px-16 sm:py-7 max-w-screen-lg mx-auto space-y-4">
<div class="p-4 sm:px-8 md:px-16 sm:py-6 max-w-screen-lg mx-auto space-y-4">
<div class="flex flex-row space-y-0 items-center pb-4 justify-between">
<PageHelpers.title text="Home" />
<div class="hidden sm:flex space-x-2" role="navigation" aria-label="new notebook">

View file

@ -62,7 +62,7 @@ defmodule LivebookWeb.LayoutHelpers do
defp sidebar(assigns) do
~H"""
<nav
class="hidden sm:flex w-[18rem] h-full py-2 sm:py-6 bg-gray-900"
class="hidden sm:flex w-[18rem] h-full py-2 sm:py-5 bg-gray-900"
aria-label="sidebar"
data-el-sidebar
>

View file

@ -99,7 +99,7 @@ defmodule LivebookWeb.SessionLive do
data-autofocus-cell-id={@autofocus_cell_id}
>
<nav
class="w-16 flex flex-col items-center px-3 py-1 space-y-2 sm:space-y-4 sm:py-7 bg-gray-900"
class="w-16 flex flex-col items-center px-3 py-1 space-y-2 sm:space-y-4 sm:py-5 bg-gray-900"
aria-label="sidebar"
data-el-sidebar
>
@ -162,7 +162,7 @@ defmodule LivebookWeb.SessionLive do
</span>
</nav>
<div
class="flex flex-col h-full w-full max-w-xs absolute z-30 top-0 left-[64px] overflow-y-auto shadow-xl md:static md:shadow-none bg-gray-50 border-r border-gray-100 px-6 pt-16 md:py-10"
class="flex flex-col h-full w-full max-w-xs absolute z-30 top-0 left-[64px] overflow-y-auto shadow-xl md:static md:shadow-none bg-gray-50 border-r border-gray-100 px-6 pt-16 md:py-8"
data-el-side-panel
>
<div data-el-sections-list>