Skip to content

Commit d17ffa7

Browse files
committed
Set font size and margins to override any site styles
1 parent 35488a4 commit d17ffa7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

css/base.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
.cn-body {
2121
padding: 1.5rem;
2222
color: var(--main-text);
23+
font-size: medium;
2324

2425
h1 {
25-
margin: unset;
26+
margin-block: 0 1rem;
2627
color: currentcolor;
2728
font-size: 1.3rem;
2829
font-weight: 600;
@@ -39,7 +40,7 @@
3940
}
4041

4142
> p {
42-
margin: unset;
43+
margin: 0;
4344
}
4445
}
4546

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "klaro-ui",
3-
"version": "1.1.2",
3+
"version": "1.1.3",
44
"description": "The Klaro consent manager custom UI for the California Digital Library",
55
"scripts": {
66
"start": "run-p parcel:dev watch:styles watch:js --silent",

0 commit comments

Comments
 (0)