?
avatar brianteeman
brianteeman
25 May 2021

The modules on the dashboard are displayed with top corners as rounded and bottom corners as square. Looking at the css I don't believe this is intentional - especially as the "add module" block has rounded corners top and bottom.

Closer investigation shows that it is caused by

.com_cpanel .card-body {
    padding:0;
}

As soon as you put the padding back to 1rem the corners are back, this css was added by @ciar4n [4.0] Admin UI repaint (#33100) and I assume its a mistake but would prefer @ciar4n to have the opportunity to comment before making a PR.

PS also everything "looks better" to me with the lines not reaching the edges.

screenshot without padding

image

screenshot with padding

image

avatar brianteeman brianteeman - open - 25 May 2021
avatar joomla-cms-bot joomla-cms-bot - change - 25 May 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 May 2021
avatar ciar4n
ciar4n - comment - 25 May 2021

Indeed an issue and not as intended. Rather than reverting the padding I would suggest adding overflow: hidden to the card element.

avatar brianteeman brianteeman - change - 25 May 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-05-25 21:34:26
Closed_By brianteeman
avatar brianteeman brianteeman - close - 25 May 2021
avatar brianteeman
brianteeman - comment - 25 May 2021

Thanks @ciar4n pull request at #34218

Add a Comment

Login with GitHub to post a comment