1. 29 Aug, 2022 8 commits
  2. 26 Aug, 2022 7 commits
  3. 25 Aug, 2022 2 commits
  4. 24 Aug, 2022 2 commits
    • Lyza Danger Gardner's avatar
    • Robert Knight's avatar
      Ensure `<hypothesis-*>` elements do not clip their contents · 78650f67
      Robert Knight authored
      Work around an issue on OpenStax pages where a `* { overflow: auto }` rule
      causes `<hypothesis-*>` elements to clip their contents. This issue prevented
      the adder toolbar from being shown when text was selected.
      
      I chose to use a `:host` rule here so that the rule could be colocated in the
      same stylesheet as the rest of the styles related to these elements. However
      this does mean that `!important` needs to be used for any rule that might
      conflict with a host page rule. See Stack Overflow links in comments.
      
      Fixes #4641
      78650f67
  5. 23 Aug, 2022 1 commit
  6. 22 Aug, 2022 8 commits
  7. 18 Aug, 2022 2 commits
    • Robert Knight's avatar
      Install icu-data-full package in Docker container · 93ac0e97
      Robert Knight authored
      Following a recent update to the Alpine 3.16 image, a test for the `formatData`
      JS function started failing. The test configures the `Intl` JS API to produce
      German output but it was producing English output instead.
      
      The build log for the Docker image included a note that the icu-data-en Alpine
      package was being installed and that icu-data-full needs to be installed to get
      non-English locale support. See also
      https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.16.0#ICU_data_split.
      93ac0e97
    • Robert Knight's avatar
      Fix alignment of replies in RTL languages · 14180759
      Robert Knight authored
      `<li>` elements have a default style of `text-align: match-parent`. This
      resulted in a computed `text-align: left` style for paragraphs in replies, which
      have an `<li>` ancestor. As a result replies written in RTL languages (eg.
      Hebrew) were rendered left-to-right, instead of right-to-left as intended. Fix
      this by adding a `text-align: start` on the `<li>`. This sets the alignment for
      descendants to match the computed `direction` property. The `direction` for
      replies is computed based on their content due to a `dir="auto"` attribute on
      `StyledText` components.
      
      Fixes https://github.com/hypothesis/client/issues/4705
      14180759
  8. 16 Aug, 2022 5 commits
  9. 10 Aug, 2022 5 commits