Skip to content

[6.x]: CpScreenSlideout has several display issues (no padding, no fixed footer) #19809

Closed

Description

@BenParizek

What happened?

Seems you might be transitioning away from this but just to note it as I'm running into it:

CpScreenSlideout still generates .so-body and .so-footer which appear to have had their styles removed/commented out in slideout.css

/*.slideout > .so-body:not(.so-full-details) {*/
/*  padding-block: 24px;*/
/*  padding-inline: var(--padding);*/
/*}*/

Example of my implementation in a module

Controller

use CraftCms\Cms\Http\Responses\CpScreenResponse;

public function __invoke(): CpScreenResponse
{
    return (new CpScreenResponse)
        ->title('Example Slideout')
        ->action('my-plugin/save')
        ->contentTemplate('my-slideout.blade.php');
}

Template

@use('CraftCms\Cms\Cp\FormFields')

<craft-field-group>
    {!! FormFields::textFieldHtml([
        'label' => 'Title',
        'name' => 'title',
    ]) !!}

    {!! FormFields::lightswitchFieldHtml([
        'label' => 'Active',
        'name' => 'active',
    ]) !!}
</craft-field-group>

JS

new Craft.CpScreenSlideout('my-plugin/slideout-action');

Craft CMS version

6.0.0-alpha.19

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

Activity

  1. linear-code commented on Oct 4, 2026

    @linear-code
    Contributor
  2. added a commit that references this issue on Oct 13, 2026
    36a3290
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugrepo:cmsRepository: craftcms/cms

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions