diff --git a/app/assets/stylesheets/merged/merged.css b/app/assets/stylesheets/merged/merged.css index 032d1e9..7f4dc7d 100644 --- a/app/assets/stylesheets/merged/merged.css +++ b/app/assets/stylesheets/merged/merged.css @@ -1564,6 +1564,10 @@ select { margin-right: 0.5rem; } +.ml-2 { + margin-left: 0.5rem; +} + .mt-8 { margin-top: 2rem; } @@ -2260,6 +2264,11 @@ select { background-color: rgb(254 243 199 / var(--tw-bg-opacity)); } +.bg-blue-100 { + --tw-bg-opacity: 1; + background-color: rgb(219 234 254 / var(--tw-bg-opacity)); +} + .bg-cyan-50 { --tw-bg-opacity: 1; background-color: rgb(236 254 255 / var(--tw-bg-opacity)); diff --git a/app/views/merged/pages/index.haml b/app/views/merged/pages/index.haml index ff4a92d..8536bfb 100644 --- a/app/views/merged/pages/index.haml +++ b/app/views/merged/pages/index.haml @@ -34,8 +34,10 @@ %td.whitespace-nowrap.px-4.py-2 %strong.rounded.bg-green-100.px-3.text-xs.font-medium.text-green-700{:class => "py-1.5"} = link_to 'Sections', merged.page_sections_path(page.id) - %strong.rounded.bg-amber-100.px-3.text-xs.font-medium.text-amber-700{:class => "py-1.5"} + %strong.ml-2.rounded.bg-amber-100.px-3.text-xs.font-medium.text-amber-700{:class => "py-1.5"} = link_to 'Edit', merged.page_path(page.id) + %strong.ml-2.rounded.bg-blue-100.px-3.text-xs.font-medium.text-amber-700{:class => "py-1.5"} + =link_to "View live" , "/#{page.name}" , target: page.name .flex.mx-20.new_page = form_tag( merged.pages_path , {method: :post } ) do