Skip to content

Commit

Permalink
Fix issue with CSS for markdown blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
annmirosh committed Oct 23, 2024
1 parent 5181ab5 commit ee36f95
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
20 changes: 13 additions & 7 deletions dist/alan_lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -92386,6 +92386,7 @@
cursor: text!important;
}`,
`p {
color: inherit;
margin: 0!important;
font-size: ${responseBubbleFontSize}px!important;
}`,
Expand All @@ -92398,6 +92399,7 @@
font-size: ${responseBubbleFontSize}px!important;
}`,
`table {
color: inherit;
margin: 0!important;
font-size: ${responseBubbleFontSize}px!important;
word-break: initial!important;
Expand All @@ -92418,17 +92420,21 @@
margin: 0!important;
list-style-type: decimal!important;
font-size: ${responseBubbleFontSize}px!important;
}`,
`ol, ul {
color: inherit;
list-style-position: outside;
}`,
`ol li {
list-style-type: decimal!important;
font-size: ${responseBubbleFontSize}px!important;
}`,
`h1 { font-size: 2.13em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h2 { font-size: 1.86em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h3 { font-size: 1.6em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h4 { font-size: 1.46em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h5 { font-size: 1.33em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h6 { font-size: 1.2em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h1 { color: inherit; font-size: 2.13em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h2 { color: inherit; font-size: 1.86em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h3 { color: inherit; font-size: 1.6em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h4 { color: inherit; font-size: 1.46em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h5 { color: inherit; font-size: 1.33em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h6 { color: inherit; font-size: 1.2em!important; line-height: 1.7!important; margin: 0 0 10px 0!important; font-weight: normal!important; text-transform: none!important;}`,
`h1:after { display: none!important;}`,
`h2:after { display: none!important;}`,
`h3:after { display: none!important;}`,
Expand Down Expand Up @@ -93599,7 +93605,7 @@ code.hljs {
// alan_btn/alan_btn.ts
var import_lodash2 = __toESM(require_lodash());
(function(ns) {
uiState.lib.version = "alan-version.1.8.66".replace("alan-version.", "");
uiState.lib.version = "alan-version.1.8.67".replace("alan-version.", "");
if (window.alanBtn) {
console.warn("Alan: the Alan Button source code has already added (v." + uiState.lib.version + ")");
}
Expand Down
2 changes: 1 addition & 1 deletion dist/alan_lib.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alan-ai/alan-sdk-web",
"version": "1.8.66",
"version": "1.8.67",
"description": "Alan Web SDK: a lightweight JavaScript library for adding a voice experience to your website or web application",
"keywords": [
"alan sdk web",
Expand Down

0 comments on commit ee36f95

Please sign in to comment.