Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust controls #55

Open
fantomas-code opened this issue Mar 29, 2021 · 0 comments
Open

Adjust controls #55

fantomas-code opened this issue Mar 29, 2021 · 0 comments

Comments

@fantomas-code
Copy link

How could I adjust these controls so they don't overflow my modal?


2021-03-29_16h34_36

I am using Tailwind CSS and Laravel 8

<x-jet-dialog-modal  wire:model="modalForm">
    <x-slot name="title">
        <span class="italic">
            {{ __(' Página a crear ▼') }}
        </span>
    </x-slot>

    <x-slot name="content">
        <div class="mt-4 italic">
            <x-jet-label for="titulo" value="{{ __('Titulo') }}" class="text-lg" />
            <x-jet-input id="titulo" class="block mt-1 w-full" type="text" wire:model.debounce.800ms='titulo' />
        </div>
        <div class="mt-4 italic">
            <x-jet-label for="url" value="{{ __('Url') }}" class="text-lg" />
            <x-jet-input id="titulo" class="block mt-1 w-full" type="text" wire:model='url' placeholder='url-del-articulo'/>
        </div>
        <div class="mt-4 italic">
            <x-jet-label for="cont" value="{{ __('Contenido') }}" class="text-lg" />
            <div class="rounded-md shadow-sm w-full ">

                    <div wire:ignore class=" ">
                        <trix-editor class="trix-content" x-ref='trix' wire:model.debounce.100000ms='contenido' wire:key='trix-content-unique-key'>
                        </trix-editor>

                    </div>
            </div >

        </div>
    </x-slot>

    <x-slot name="footer">
        <x-jet-secondary-button wire:click="$toggle('modalForm')" wire:loading.attr="disabled">
            {{ __('Cancelar') }}
        </x-jet-secondary-button>

        <x-jet-button class="ml-2 bg-purple-900" wire:click="crearPag" wire:loading.attr="disabled">
            {{ __('Guardar !!') }}
        </x-jet-button>
    </x-slot>
</x-jet-dialog-modal>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant