Skip to content

Commit afc0514

Browse files
authored
Fixed issue (#2) when using along with themeable plugin.
1 parent 00f9293 commit afc0514

4 files changed

Lines changed: 15 additions & 5 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# docsify plugin: Flexible Alerts
22

3+
![Build Status](https://api.travis-ci.org/zanfab/docsify-plugin-flexible-alerts.svg)
4+
[![npm Version](https://img.shields.io/npm/v/docsify-plugin-flexible-alerts/latest.svg)](https://www.npmjs.com/package/docsify-plugin-flexible-alerts)
5+
[![npm Downloads](https://img.shields.io/npm/dt/docsify-plugin-flexible-alerts.svg)](https://www.npmjs.com/package/docsify-plugin-flexible-alerts)
6+
37
This docsify plugin converts blockquotes into beautiful alerts. Look and feel can be configured on a global as well as on a alert specific level so output does fit your needs (some examples are shown below). In addition, you can provide own alert types.
48

59
![Sample alerts created with plugin 'flexible-alerts'](https://user-images.githubusercontent.com/44210522/50688702-ea774f00-1026-11e9-9281-ca615cb466f5.jpg)
@@ -167,4 +171,6 @@ If alerts do no look as expected, check if your `index.html` as well as alerts i
167171

168172
## Changelog
169173

174+
01/19/2019 - Fixed issue when using plugin along with themeable plugin.
175+
170176
01/06/2019 - Initial Release

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docsify-plugin-flexible-alerts",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "docsify plugin to convert blockquotes into beautiful and configurable alerts using preconfigured or own styles and alert types.",
55
"keywords": [
66
"docsify",

src/style.css

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,20 @@
66
position: relative;
77
word-wrap: break-word;
88
word-break: break-word;
9-
padding: .75rem 1.25rem;
10-
margin-bottom: 1rem;
9+
padding: .75rem 1.25rem !important;
10+
margin-bottom: 1rem !important;
1111
}
1212

1313
.alert > * {
1414
max-width: 100%;
1515
}
1616

1717
.alert + .alert {
18-
margin-top: -.25rem;
18+
margin-top: -.25rem !important;
19+
}
20+
21+
.alert:before {
22+
content: unset !important;
1923
}
2024

2125
.alert p {

0 commit comments

Comments
 (0)