[NO-TICKET] Align roulette congrats button sizing with editor form button#1663
Open
emoralesms wants to merge 1 commit into
Open
[NO-TICKET] Align roulette congrats button sizing with editor form button#1663emoralesms wants to merge 1 commit into
emoralesms wants to merge 1 commit into
Conversation
fgchaio
approved these changes
Apr 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Como se puede ver el boton de copiado es mas grande en el canvas de unlayer:
Este PR agrega boxSizing: 'border-box' al botón Copiar código de la vista final de la ruleta dentro de WheelFortuneViewer.
box-sizing: border-box hace que el navegador calcule el tamaño final del elemento incluyendo el padding y el border dentro del width y height definidos. Sin esta regla, el modelo por defecto (content-box) suma el padding por fuera de esas dimensiones, lo que puede hacer que el botón termine viéndose más grande de lo esperado.
En este caso, el cambio busca estabilizar el cálculo del tamaño del botón dentro del canvas del editor de Unlayer, evitando que se renderice con una altura visual mayor que la esperada.
No se modificó el widget type