0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 17:13:31 +01:00
wagtail/client
Matt Westcott 7d8d900d10
Set comment position correctly relative to scroll position (#8511)
Fixes #8500. As a consequence of the CSS changes in c6fdb6bbb3, scroll position is no longer reflected in the document element's scrollTop property, but on the `<main>` element instead. As a result, comment positions were not being adjusted for scroll position. To account for this (and any future CSS changes), we walk all ancestor elements to calculate the true scroll position.
2022-05-12 14:11:47 +01:00
..
scss Remove logical properties compatibility styles for Safari 13 2022-05-11 21:41:15 +10:00
src Set comment position correctly relative to scroll position (#8511) 2022-05-12 14:11:47 +01:00
storybook Update existing stories with latest storybook-django version 2022-04-23 01:05:27 +01:00
tests Fix last integration test failure 2022-04-29 14:43:45 +01:00
extract-translatable-strings.js
package-lock.json
README.md
tailwind.config.js Remove logical properties compatibility styles for Safari 13 2022-05-11 21:41:15 +10:00
webpack.config.js Disable webpack css url rewriting 2022-05-11 19:27:49 +10:00

Wagtail client-side components

This library aims to give developers the ability to subclass and configure Wagtail's UI components.

Usage

npm install wagtail
import { Explorer } from 'wagtail';
// [...]
<Explorer />

Development

# From the project root, start the webpack + styles compilation.
npm run start

You will also need:

Releases

The front-end is bundled at the same time as the Wagtail project. This package also aims to be available separately on npm as wagtail.