@vectara/vectara-ui 9.8.1 → 9.8.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.
@@ -47,11 +47,13 @@ $textRhythm: $sizeM;
47
47
  }
48
48
 
49
49
  pre:has(> code) {
50
+ padding: $sizeXs $sizeS !important;
50
51
  margin-bottom: $textRhythm;
52
+ border-radius: $sizeXs;
51
53
  }
52
54
 
53
- pre:only-child,
54
- code:only-child {
55
+ p > pre:only-child,
56
+ p > code:only-child {
55
57
  display: block;
56
58
  padding: $sizeXs $sizeS;
57
59
  border: none;
@@ -4564,10 +4564,12 @@ h2.react-datepicker__current-month {
4564
4564
  padding: 2px 4px;
4565
4565
  }
4566
4566
  .vuiText pre:has(> code) {
4567
+ padding: 8px 12px !important;
4567
4568
  margin-bottom: 16px;
4569
+ border-radius: 8px;
4568
4570
  }
4569
- .vuiText pre:only-child,
4570
- .vuiText code:only-child {
4571
+ .vuiText p > pre:only-child,
4572
+ .vuiText p > code:only-child {
4571
4573
  display: block;
4572
4574
  padding: 8px 12px;
4573
4575
  border: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vectara/vectara-ui",
3
- "version": "9.8.1",
3
+ "version": "9.8.2",
4
4
  "homepage": "./",
5
5
  "description": "Vectara's design system, codified as a React and Sass component library",
6
6
  "author": "Vectara",