Is there a way to right-align the <a>
element, which contains a Button with the text Push Me
, within the <div>
(<Paper>
)?
https://codesandbox.io/s/eager-noyce-j356qe
This scenario is found in the demo.tsx
file.
Keep in mind that using position: absolute
and setting right: 0px
won't work because I need the height of the <div>
(<Paper>
) to adjust dynamically based on its content, including the height of the <Button>
.