Giter Club home page Giter Club logo

Comments (7)

appurist avatar appurist commented on August 17, 2024

I have tracked the problem down to the padding style in chat.css:

main.login fieldset input,
main.signup fieldset input{
  width: 100%;
  padding: 1.4em 0.7em;
}

If you comment out the padding here, all is good (even in Firefox).

So this is why it only seems to affect those two pages.

from feathers-chat.

daffl avatar daffl commented on August 17, 2024

Did we land a fix for this? I noticed this as well but can't remember is somebody submitted a PR with the changes already (I don't think I saw one).

from feathers-chat.

appurist avatar appurist commented on August 17, 2024

I didn't really know why that padding style was there in the first place, or if it was necessary, so I didn't want to submit a change that removed it. But for my local testing, that's the quick work around that I made for now.

It looks like that css stuff hasn't changed since @ekryski first added the css, so it may come from an upstream css file somewhere that has since been fixed or improved. At least it doesn't seem to be a recent change. Perhaps it has never worked on Firefox or there has been a change in Firefox since it was first committed.

I don't know enough about padding on input fields to suggest a change. I haven't tried other values (like perhaps 1.4em 1.0em might work fine here). At this point, I just know that one workaround is to remove the padding style from main.login fieldset input and main.signup fieldset input, those two styles I quoted above.

from feathers-chat.

daffl avatar daffl commented on August 17, 2024

If it doesn't change the behaviour in Chrome it would be great if you could submit the fix as a PR. I did notice some weirdness in Firefox, too but never followed up on it.

/cc @ekryski

from feathers-chat.

appurist avatar appurist commented on August 17, 2024

No problem, submitted PR #39 with the workaround I've used.

from feathers-chat.

ekryski avatar ekryski commented on August 17, 2024

Thanks @appurist! Merging now. :)

from feathers-chat.

daffl avatar daffl commented on August 17, 2024

Closed via #39

from feathers-chat.

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.