mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2026-04-29 15:37:48 +00:00
Redocly 0.131.0 changed CommonMark parsing so [[Source]] on its own line after a heading is emitted as a separate <p> instead of inline inside <h1>. That <p> collapsed to zero height (floated child), causing the [Source] link to bleed into the description paragraph below. Fix via overflow:hidden on the <p> containing the [Source] link, which creates a block formatting context and makes the paragraph contain its floated child properly. No markdown files need to change. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
XRPL Styles
This folder contains the source files for the XRP Ledger Dev Portal CSS. The combined, minified version of these styles is /static/css/devportal-2024-v1.css (or some other version number).
Prerequisites
The prerequisites for these styles, including Bootstrap, should automatically be installed by NPM along with the rest of the project's dependencies if you run npm i from the repo top.
Building
To build the output file using node-sass, run the following command from the repo top:
npm run build-css
Files
xrpl.scss is the master file that includes all the other, _-prefixed SCSS files. This file also defines common colors and other utilities.