Project

General

Profile

Actions

Bug #76381

closed

Custom extension icon has weird display in extension list in Chrome

Added by Jérémie Roulin over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
Start date:
2016-05-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

Hi,

I have a weird display in extension list for a custom extension icon (see screenshot below). It doesn't break on Firefox, it goes weird only on Chrome. I didn't test it on IE.

To fix it we have to use max-width instead of max-height in

/typo3/sysext/backend/Resources/Public/Css/backend.css
on line 13299 :

.typo3-extension-list .ext-icon {
    max-height: 16px;
    width: auto;
}

I hope I have been clear enough.

Have a good evening.

Jérémie


Files

ext_icon_weird_display.png (5.17 KB) ext_icon_weird_display.png Jérémie Roulin, 2016-05-30 19:26
ext_icon.svg (1.58 KB) ext_icon.svg Jérémie Roulin, 2016-05-30 21:28
Actions #1

Updated by Andreas Kienast over 7 years ago

  • Status changed from New to Needs Feedback

Do you use a custom SVG icon? If yes, does it have a viewBox?

Actions #2

Updated by Jérémie Roulin over 7 years ago

Yes it is and yes it has.

Actions #3

Updated by Wouter Wolters over 7 years ago

Can you attach the svg file here?

Actions #4

Updated by Jérémie Roulin over 7 years ago

Here you are!

Actions #5

Updated by Wouter Wolters over 7 years ago

your viewBox is 500 x 500, please try with 64 x 64

Actions #6

Updated by Jérémie Roulin over 7 years ago

It is not better with viewBox at 64 x 64.

Actions #7

Updated by Riccardo De Contardi over 7 years ago

@Jérémie Roulin: after updating the svg file, try to delete the browser cache.

Actions #8

Updated by Gerrit Code Review over 7 years ago

  • Status changed from Needs Feedback to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49308

Actions #9

Updated by Gerrit Code Review over 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49308

Actions #10

Updated by Gerrit Code Review over 7 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49315

Actions #11

Updated by Benni Mack over 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #12

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF