Skip to content

Commit d6aeb8a

Browse files
committed
Reduce h2 and list element padding for readability
1 parent 56a5e69 commit d6aeb8a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/blocks/list/Ol.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { FC } from 'react';
22
import GenericHtmlBlock from '../Html/GenericHtmlBlock';
33

4-
const Ol: FC = (props) => <ol {...props} className="ui-text-p2 pl-16 pb-32 list-decimal -mt-16" />;
4+
const Ol: FC = (props) => <ol {...props} className="ui-text-p2 pl-16 pb-16 list-decimal -mt-16" />;
55

66
export default GenericHtmlBlock(Ol);

src/components/blocks/list/Ul.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { FC } from 'react';
22
import GenericHtmlBlock from '../Html/GenericHtmlBlock';
33

4-
const Ul: FC<{ className: string }> = (props) => <ul {...props} className="ui-text-p2 pl-16 pb-32 list-disc" />;
4+
const Ul: FC<{ className: string }> = (props) => <ul {...props} className="ui-text-p2 pl-16 pb-16 list-disc" />;
55

66
export default GenericHtmlBlock(Ul);

src/styles/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
}
7272

7373
p + .copy-link-identifier:has(h2) {
74-
padding-top: 24px;
74+
padding-top: 8px;
7575
}
7676

7777
@font-face {

0 commit comments

Comments
 (0)