Comments (3)
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.
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.
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)
- feature: change caret to X on combobox
- Multiselect defaultValue doesn't refresh when props value changes HOT 1
- Combobox has unexpected behavior when using hideEmptyPopup
- findDOMNode is deprecated in StrictMode - error HOT 7
- Error finding scss files.
- Calendar: Add option to display week numbers
- Add tailwind 3 support
- Add !default to $max-height in popup.scss
- Deprecation warning with `sass 1.62.0` HOT 2
- Custom tagListComponent HOT 1
- Unable to set tabindex on footer of calendar widget
- How to stablish the value on open DropdownList HOT 3
- Achieved
- Tailwind: [WARNING] "zindex" is not a known CSS property [unsupported-css-property] HOT 1
- Multiselect - Sort tags and options alphabetically HOT 1
- DatePicker monthFormat in version 5
- Virtualized MultiSelect
- Can not set DatePicker input id via inputProps
- Chrome crashes when using DropdownList Component HOT 4
- deprecation warning; !default should only be written once for each variable.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-widgets.