Separate util class for fab-top #4437
Replies: 4 comments 5 replies
-
|
I think it is not difficult: @saadeghi Should we implement this? Do we also want the |
Beta Was this translation helpful? Give feedback.
-
|
It's not usual to put it on top. |
Beta Was this translation helpful? Give feedback.
-
|
Check the play. Now in daisy the multiplier for x axis is hard-coded, while for y it is in a variable (or the other way around :) ) |
Beta Was this translation helpful? Give feedback.
-
|
Setting aside whether it should be allowed on top, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to introduce a new class that overrides some of the styling on
.fabso that the fab button can be located at the top of the viewport, with the controls opening below it on click.I made a rough Tailwind playground: https://play.tailwindcss.com/sFmKvos7b2
Essentially, a new class would be added to
fab.css:and one could apply it like so:
There's already a precedent with this convention with
btn btn-primaryfor example.I am (obviously) a novice at CSS, but I would be happy to work on and contribute this if necessary 😸
Beta Was this translation helpful? Give feedback.
All reactions