Replies: 3 comments 4 replies
-
Have you seen this section? It might be just what you’re looking for. https://shoelace.style/components/input#customizing-label-position |
Beta Was this translation helpful? Give feedback.
-
Yes i seen it. I have an issue with the switch and the checkbox. The switch has the input field wrapped inside the label. The final result for all results should look something like this, but with close to default shoelace styling on components.. Any ideas :) https://cbrtechnology.files.wordpress.com/2021/02/bc173-2.png?w=2046 |
Beta Was this translation helpful? Give feedback.
-
I had the same problem today... Here's how I fixed this by adding an attribute align-right to my component. Jsx
CSS
|
Beta Was this translation helpful? Give feedback.
-
First of all - I really appreciate your work. Recently I have had lots of request on positioning labels left of control on larger devices and over control on smaller devices. It would be nice to have an easy way to control the position of the label, accros all controls, or just a property on each.
Beta Was this translation helpful? Give feedback.
All reactions