Observed on post #8134957
I really want the background-color to be white, it's pink in these examples to make it more clear what is happening.
<div class="note-box-attributes" style="transform: rotate(-21deg); background-color: pink; font-family: narrow; font-size: 170%; white-space: nowrap">Mommy is Pekora's Mommy!!</div>
Note box is rotated 21 degrees CCW and has a pink background. Text is rotated 42 degrees, and has its own pink background.
<div class="note-box-attributes" style="transform: rotate(-21deg); background-color: pink"><div style="transform: rotate(21deg); font-family: narrow; font-size: 170%; white-space: nowrap">Mommy is Pekora's Mommy!!</div></div>
Note box and text are both rotated 21 degrees CCW. An additional empty box with a pink background is rotated 42 degrees.
<div class="note-box-attributes" style="transform: rotate(-21deg)"><div style="transform: rotate(21deg); font-family: narrow; font-size: 170%; white-space: nowrap">Mommy is Pekora's Mommy!!</div></div>
Note box and text are rotated 21 degrees CCW and note box background is default yellow. The additional empty box is not present.
<div class="note-box-attributes" style="transform: rotate(-21deg)"><div style="transform: rotate(21deg); background-color: pink; font-family: narrow; font-size: 170%; white-space: nowrap">Mommy is Pekora's Mommy!!</div></div>
Note box and text are rotated 21 degrees CCW. Pink background does not fill the entire note box. Similar to behavior of a non-embedded note.
It seems like an extra box is being created, and this box is always being rotated twice. How do I fix this?