On the node preview page the "view mode select" and "Back to content editing" layout not proper.

Created on 13 June 2023, about 1 year ago
Updated 6 February 2024, 5 months ago

Problem/Motivation

When we edit/add any content type and click on the Preview button, on the node preview page the "view mode select" and "Back to content editing" layouts are not proper. Please check the below image:

Steps to reproduce

1. set 10.0.x and install gin 8.x-3.x-dev set Gin as the backend and frontend theme.
2. Edit the Article node and click on the Preview button, the issue will appear.

Proposed resolution

Need to update the height in the "node_preview.css" file.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

🇮🇳India Shyam_Bhatt Gujarat

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @Shyam_Bhatt
  • Issue was unassigned.
  • Status changed to Needs review about 1 year ago
  • 🇮🇳India Shyam_Bhatt Gujarat

    I have created the patch to fix the above issue.
    After patch:

    Needs review

  • Status changed to RTBC about 1 year ago
  • Verified the #2 patch on 9.5.8, the space is added. Added screenshots for reference, RTBC++.

  • Status changed to Fixed 9 months ago
  • 🇨🇭Switzerland saschaeggi Zurich

    Fixed in 8.x-3.x-dev

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Status changed to Fixed 5 months ago
  • 🇺🇸United States smethawee

    Hello Team,

    Here on my gin theme with Drupal 10.2.2 the preview button is not working when clink it on there please see the error below:
    The website encountered an unexpected error. Try again later.
    call_user_func_array() (Line: 261)
    Drupal\Core\Theme\ThemeManager->render() (Line: 480)
    Drupal\Core\Render\Renderer->doRender() (Line: 240)
    Drupal\Core\Render\Renderer->render() (Line: 158)
    Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627)
    Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 153)
    Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
    Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
    call_user_func() (Line: 111)
    Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 186)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
    Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
    Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
    Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
    Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
    Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106)
    Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
    Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
    Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
    Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
    Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
    Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
    Drupal\Core\DrupalKernel->handle() (Line: 19)
    --------------------------------------------------------------------------

Production build 0.69.0 2024