GithubHelp home page GithubHelp logo

Comments (3)

jquense avatar jquense commented on July 19, 2024

Hi there,

Thanks for taking the time to submit to submit this. I do need to come up with a better solution for the calendar width, but unfortunately making it the width of the popup is doesn't address of the issues. On pickers that are small the calendar would be unreadable. I am not sure why you are getting a scroll bar on the footer but I will look into that. If you can figure out the magic css combination to make width: auto work on the dropdown calendar, i'd be open to that change.

I am also happy with the way the numbers are aligned, Generally aligning numbers center doesn't read very well especially if you change the format of the numbers so they are not all the same size (digit wise).

In general the react-widgets styles are very minimal and not really meant to be used as a theme, but as a fairly neutral starting point to lay themes on top of. To that end you are definately encouraged to make whatever stylistic changes you want for your own projects :) The provided less files should make that really simple

from react-widgets.

ferrannp avatar ferrannp commented on July 19, 2024

Hello,

I understand your point. Thank you for your response! So at the end, in my code I did this:

  .rw-popup-container.rw-calendar-popup {
    min-width: 200px;
    width: auto;
    left: -11px; //-10px - @input-border-width; (from react-widgets less)
    right: -11px; //-10px - @input-border-width; (from react-widgets less)
  }

instead of:

  .rw-popup-container.rw-calendar-popup {
    right: auto;
    widht: 200px;
  }

I don't use @input-border-width; directly because I am using SASS.

from react-widgets.

jquense avatar jquense commented on July 19, 2024

I've changed the default width to be 18em which should give it more room, and made sure the footer will at least break to another line instead of overflowing. This doesn't necessarily affect you if you're happy with your tweaks, but just an FYI

from react-widgets.

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.