Giter Club home page Giter Club logo

Comments (6)

omarkohl avatar omarkohl commented on July 23, 2024 1

I ran ember install ember-cli-tutorial-style and it works (tested both in Firefox 47 and Chromium 51).

from ember-cli-tutorial-style.

toddjordan avatar toddjordan commented on July 23, 2024

Thanks for reporting. I'll take a look this week

from ember-cli-tutorial-style.

toddjordan avatar toddjordan commented on July 23, 2024

Tried on chrome, firefox, safari, and brave... seems to be working. What browser are you seeing this on? is your markup different than the tutorial?

image

from ember-cli-tutorial-style.

omarkohl avatar omarkohl commented on July 23, 2024

I get the same issue on Firefox 47 and Chromium 51.

.listing .wide {
  max-width: 100%;
  position: relative;
  z-index: 999;
}

.listing a.image {
  max-width: 150px;
  display: block;
}

The second selector is more specific and therefore wins (overriding max-width).

Apart from the previously mentioned fix this also works (making the first selector more specific):

.listing a.image.wide {
  max-width: 100%;
  position: relative;
  z-index: 999;
}

.listing a.image {
  max-width: 150px;
  display: block;
}

from ember-cli-tutorial-style.

toddjordan avatar toddjordan commented on July 23, 2024

Ok. Thanks for investigating the fix. Do either of you mind submitting a pr?
On Tue, Jul 19, 2016 at 6:47 AM Omar K. [email protected] wrote:

I get the same issue on Firefox 47 and Chromium 51.

.listing .wide {
max-width: 100%;
position: relative;
z-index: 999;
}
.listing a.image {
max-width: 150px;
display: block;
}

The second selector is more specific and therefore wins (overriding
max-width).

Apart from the previously mentioned fix this also works (making the first
selector more specific):

.listing a.image.wide {
max-width: 100%;
position: relative;
z-index: 999;
}
.listing a.image {
max-width: 150px;
display: block;
}


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADcR50rz_iuu858uHtZwEhL5YCYleQt_ks5qXKtQgaJpZM4JI5Y2
.

from ember-cli-tutorial-style.

toddjordan avatar toddjordan commented on July 23, 2024

@omarkohl @d3chapma I've updated the addon to 0.0.5. Update your project to the new addon version and let me know if the fix resolves it. (make sure you re-run ember install ember-cli-tutorial-style so that it runs the blueprint and replaces the vendor css.)

from ember-cli-tutorial-style.

Related Issues (7)

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.