mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-24 17:35:10 +03:00
9c2315e69d
Using flex layout causes problems with the positioning of elements and causes the borders to be wrapped over the whole parent. This changes to use block/inline layouts instead. This also removes any padding around the cue lines, hugging the background around the text. This is a bit more consistent with other renderers by having a gap between lines. This also changes a bit of the nested cues padding. The deeply nested cue test is different because the `background-color` CSS attribute isn't inherited, so the default in our CSS sets the background to black. Fixes #3013 Change-Id: I3e4b63b1b4de1f12e69fce2460d142e0a69bfcd9