forked from OpenNeo/impress
Dress to Impress, a big fancy Neopets customization tool!
Emi Matchu
8f934e83b8
On small screens, the PosePicker opens down, and we put the tabs on the top, to be near the button. On large screens, the PosePicker opens up, and we put the tabs on the bottom, to be near the button. Previously, we always set `placement="bottom-end"`, which on small screens behaved as written, and on large screens there would not be space to open downward so it would open upward instead. Now, we set the placement explicitly based on a media breakpoint, and we change the `flexDirection` of the tabs container on the same media breakpoint. |
||
---|---|---|
.devcontainer | ||
.husky | ||
app | ||
bin | ||
config | ||
db | ||
deploy | ||
lib | ||
public | ||
test | ||
vendor | ||
.eslintrc.json | ||
.gitignore | ||
.ruby-version | ||
.yarnrc.yml | ||
config.ru | ||
falcon.rb | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE.md | ||
package.json | ||
Procfile.dev | ||
Rakefile | ||
README.md | ||
yarn.lock |
Dress to Impress
Oh! We've been revitalizing the Rails app! Fun!
There'll be more to say about it here soon :3