@descope/web-components-ui 3.23.2 → 3.23.3

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.
@@ -9716,7 +9716,7 @@ class RawRecoveryCodes extends createBaseClass$1({
9716
9716
  this.attachShadow({ mode: 'open' }).innerHTML = `
9717
9717
  <div class="wrapper">
9718
9718
  <div class="codes-box">
9719
- <div class="list"></div>
9719
+ <div class="list"><div class="codes-list"></div></div>
9720
9720
  <descope-text class="icon-wrapper">
9721
9721
  <div class="icons">
9722
9722
  <vaadin-icon class="icon copy-icon" icon="vaadin:copy-o" title="Copy"></vaadin-icon>
@@ -9756,6 +9756,17 @@ class RawRecoveryCodes extends createBaseClass$1({
9756
9756
  display: flex;
9757
9757
  flex-grow: 1;
9758
9758
  flex-direction: column;
9759
+ /* text-align maps to align-items here, so it positions the codes block
9760
+ (start/center/end) inside the available space, not each row */
9761
+ }
9762
+ .codes-list {
9763
+ display: flex;
9764
+ flex-direction: column;
9765
+ /* rows always start-aligned so the bullets line up in any font.
9766
+ width:fit-content hugs the codes so .list can position the whole
9767
+ block (keep it, it also defeats the stretch fallback) */
9768
+ align-items: flex-start;
9769
+ width: fit-content;
9759
9770
  }
9760
9771
  descope-text span {
9761
9772
  display: inline-flex;
@@ -10099,7 +10110,7 @@ const RecoveryCodesClass = compose(
10099
10110
  createDynamicDataMixin$1({
10100
10111
  itemRenderer: itemRenderer$5,
10101
10112
  rerenderAttrsList: ['variant', 'mode'],
10102
- targetSelector: '.list',
10113
+ targetSelector: '.codes-list',
10103
10114
  }),
10104
10115
  draggableMixin$1,
10105
10116
  componentNameValidationMixin$1,