@jetbrains/kotlin-web-site-ui 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@ const Chapters = ({
42
42
  __html: title
43
43
  }
44
44
  })), React__default.createElement("div", {
45
- className: classNames(textCn('rs-text-2'), styles.snippet),
45
+ className: classNames(textCn('rs-text-2'), styles.chapterSnippet),
46
46
  dangerouslySetInnerHTML: {
47
47
  __html: snippet
48
48
  }
@@ -4,6 +4,7 @@ var styles = {
4
4
  "singleChapter": "ktl-chapters-module_singleChapter_zSmx2",
5
5
  "headliner": "ktl-chapters-module_headliner_ZBuf9",
6
6
  "snippet": "ktl-chapters-module_snippet_yROJo",
7
+ "chapterSnippet": "ktl-chapters-module_chapterSnippet_8Pwb2",
7
8
  "extraSection": "ktl-chapters-module_extraSection_lsZfw",
8
9
  "visibleSection": "ktl-chapters-module_visibleSection_wQyvM",
9
10
  "moreButton": "ktl-chapters-module_moreButton_98oqy"
@@ -38,7 +38,7 @@ const HitList = ({
38
38
  chapters: chapters,
39
39
  hitIndex: pageIndex
40
40
  }) : React__default.createElement("div", {
41
- className: classNames(textCn('rs-text-2')),
41
+ className: classNames(textCn('rs-text-2'), styles.snippet),
42
42
  dangerouslySetInnerHTML: {
43
43
  __html: snippet
44
44
  }
@@ -1,5 +1,6 @@
1
1
  var styles = {
2
2
  "hitList": "ktl-hit-list-module_hitList_1MP6m",
3
- "titleLink": "ktl-hit-list-module_titleLink_rdJ6u"
3
+ "titleLink": "ktl-hit-list-module_titleLink_rdJ6u",
4
+ "snippet": "ktl-hit-list-module_snippet_WmrYL"
4
5
  };
5
6
  export { styles as default };
@@ -445,14 +445,6 @@
445
445
  margin-top: 24px;
446
446
  }
447
447
 
448
- .ktl-chapters-module_chapterTitle_b6Rdz {
449
- //border-bottom-color: transparent;
450
- }
451
-
452
- .ktl-chapters-module_chapterTitle_b6Rdz:hover {
453
- //border-bottom-color: #19191C;
454
- }
455
-
456
448
  .ktl-chapters-module_chapterTitle_b6Rdz em {
457
449
  background: rgba(127, 82, 255, 0.2);
458
450
  font-style: normal;
@@ -476,6 +468,11 @@
476
468
  font-style: normal;
477
469
  }
478
470
 
471
+ .ktl-chapters-module_chapterSnippet_8Pwb2 em {
472
+ background: rgba(127, 82, 255, 0.2);
473
+ font-style: normal;
474
+ }
475
+
479
476
  .ktl-chapters-module_extraSection_lsZfw {
480
477
  display: none;
481
478
  }
@@ -487,6 +484,7 @@
487
484
  .ktl-chapters-module_moreButton_98oqy {
488
485
  margin-top: 12px;
489
486
  }
487
+
490
488
  .ktl-hit-list-module_hitList_1MP6m {
491
489
  margin: 40px 0 50px 0;
492
490
  }
@@ -496,6 +494,11 @@
496
494
  font-style: normal;
497
495
  }
498
496
 
497
+ .ktl-hit-list-module_snippet_WmrYL em {
498
+ background: rgba(127, 82, 255, 0.2);
499
+ font-style: normal;
500
+ }
501
+
499
502
  .ktl-full-search-module_fullSearch_MTU8t {
500
503
  display: none;
501
504
  box-sizing: border-box;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jetbrains/kotlin-web-site-ui",
3
3
  "description": "UI components for Kotlin web sites development",
4
- "version": "4.1.1",
4
+ "version": "4.1.2",
5
5
  "license": "Apache-2.0",
6
6
  "author": "JetBrains",
7
7
  "files": [