Giter VIP home page Giter VIP logo

Comments (9)

yaili avatar yaili commented on August 19, 2024

Some other SVG images are doing similar things. Eg. on Server > Overview, in the "Performance and versatility" section: Lenovo, Dell, HP, Intel, Cisco, AMD, ARM, etc.

from ubuntu.com.

yaili avatar yaili commented on August 19, 2024

Another example:

Phone > Partners the pictogram in "Profit via user payments"
Tablet > Overview pictogram in "Perfect for partners"
Tablet > Features icons Firefox, Dropbox, Twitter, Soundcloud
IoT > Overview logos in "Industry leaders" of Intel, Dell and DJI
IoT > Features the OpenStack logo in "Seamless connectivity"
IoT > Features the illustration in the dark strip
Download > Cloud > Autopilot the pictogram at the end of the page

from ubuntu.com.

yaili avatar yaili commented on August 19, 2024

These are all stil happening.

from ubuntu.com.

anthonydillon avatar anthonydillon commented on August 19, 2024

I've looked into this and there is no easy fix. It is due to the svgs themselves having width and height attributes. If these are removed the can control both the height and width.

There are a few options going forward:

  1. Go through each SVG, removing the styling on the svg. Uploading the new version and changing the links across the site.
  2. Leave them as they are and except that < IE9 will have odd SVG images.
  3. Write a snippet of JS that triggers in <IE9 which appends all svg images links with fmt=png.

@yaili @pmahnke @nottrobin

from ubuntu.com.

yaili avatar yaili commented on August 19, 2024

According to the title, the issue is not just on IE9 though, it's 9, 10 and 11.

from ubuntu.com.

anthonydillon avatar anthonydillon commented on August 19, 2024

Sorry yes your right. It must effect all <IE10.

from ubuntu.com.

pmahnke avatar pmahnke commented on August 19, 2024

@yaili @pmahnke @nottrobin

It would be nice if the asset server served png's to IE... but I don't think that will just work with all the caching in front.

And I think we will never have full control over all the partner assets, so the javascript solution is the safest.

from ubuntu.com.

yaili avatar yaili commented on August 19, 2024

< and including IE10

I thought you had already done a JS snippet for this, didn't you? Or was it fixing something else? Opera Mini?

from ubuntu.com.

anthonydillon avatar anthonydillon commented on August 19, 2024

from ubuntu.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.