Skip to content
This repository was archived by the owner on Jan 4, 2024. It is now read-only.

Commit acbf0ab

Browse files
Added blockquote styles to c-wysiwyg (#125)
* Added blockquote styles to c-wysiwyg * Bump version to 1.3.2 * Added built version
1 parent 0fe6abe commit acbf0ab

File tree

7 files changed

+56
-36
lines changed

7 files changed

+56
-36
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
_The format of this document is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html)._
22

3+
## [v1.3.2](https://github.com/RaspberryPiFoundation/Bits/compare/v1.3.1...v1.3.2) - 2020-02-17
4+
5+
### Changed
6+
7+
- Added `<blockquote>` support for `.c-wysiwyg`
8+
39
## [v1.3.1](https://github.com/RaspberryPiFoundation/Bits/compare/v1.3.0...v1.3.1) - 2019-11-11
410

511
### Fixed

lib/index.es.js

+17-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/index.js

+17-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type": "git",
1111
"url": "https://github.com/RaspberryPiFoundation/Bits.git"
1212
},
13-
"version": "1.3.1",
13+
"version": "1.3.2",
1414
"main": "lib/index.js",
1515
"files": [
1616
"lib",

src/components/Wysiwyg/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
<li>List item 2</li>
88
<li>List item 3</li>
99
</ul>
10+
<blockquote>
11+
A person said this thing
12+
</blockquote>
1013
</Wysiwyg>
1114
```
1215

@@ -21,5 +24,8 @@
2124
<li>List item 2</li>
2225
<li>List item 3</li>
2326
</ul>
27+
<blockquote>
28+
A person said this thing
29+
</blockquote>
2430
</div>
2531
```

src/components/Wysiwyg/Wysiwyg.scss

+8
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,14 @@
2727
@include type-base;
2828
margin-left: $spacing-x4;
2929
}
30+
blockquote {
31+
@include type-base;
32+
border-left-color: $color-ui-grey-light;
33+
border-style: solid;
34+
border-width: 0 0 0 2px;
35+
margin-bottom: 2rem;
36+
padding: 2rem 2rem 2rem 3rem;
37+
}
3038
}
3139

3240
.c-wysiwyg--rpi {

0 commit comments

Comments
 (0)