J4 Issue ?
avatar C-Lodder
C-Lodder
14 Oct 2018

What needs to be fixed

The positioning of the colour fields/layout

Why this should be fixed

Due to the increased height of inputs with the new template and jQuery Minicolours not adapting, the swatch is misaligned

How would you fix it

Add some styling overrides for the current picker as shown below:

.minicolors-theme-bootstrap .minicolors-swatch {
    top: 50%;
    left: 8px;
    border-radius: 0;
    transform: translateY(-50%);
}

Screenshots

screeny

avatar C-Lodder C-Lodder - open - 14 Oct 2018
avatar joomla-cms-bot joomla-cms-bot - change - 14 Oct 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Oct 2018
avatar brianteeman
brianteeman - comment - 14 Oct 2018

@C-Lodder can you submit a PR please

avatar brianteeman brianteeman - change - 14 Oct 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 14 Oct 2018
avatar C-Lodder
C-Lodder - comment - 15 Oct 2018

PR: #22628

avatar C-Lodder C-Lodder - close - 15 Oct 2018
avatar C-Lodder C-Lodder - change - 15 Oct 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-10-15 09:22:06
Closed_By C-Lodder
avatar brianteeman
brianteeman - comment - 15 Oct 2018

thanks @C-Lodder

Add a Comment

Login with GitHub to post a comment