@stackoverflow/stacks 2.5.2 → 2.5.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.
@@ -3480,6 +3480,8 @@ body.theme-highcontrast .s-pagination .s-pagination--item {
3480
3480
  --_po-arrow-after-r: unset;
3481
3481
  --_po-arrow-after-t: unset;
3482
3482
  --_po-arrow-after-bs: unset;
3483
+ --_po-topbar-height: var(--theme-topbar-height, calc(var(--su-static48) + var(--su-static8)));
3484
+ --_po-content-mxh: calc(100vh - var(--_po-topbar-height) - var(--su48));
3483
3485
  background-color: var(--_po-bg);
3484
3486
  border: 1px solid var(--_po-bc);
3485
3487
  box-shadow: var(--_po-bs);
@@ -3626,6 +3628,10 @@ body.theme-highcontrast .s-popover .s-popover--arrow__lb {
3626
3628
  right: calc(var(--su8) * -1);
3627
3629
  padding: var(--su8) !important;
3628
3630
  }
3631
+ .s-popover .s-popover--content {
3632
+ max-height: var(--_po-content-mxh);
3633
+ overflow-y: auto;
3634
+ }
3629
3635
  .s-post-summary {
3630
3636
  --_ps-bb: var(--su1) solid var(--bc-light);
3631
3637
  --_ps-bg: unset;
@@ -5830,6 +5836,8 @@ input[type="checkbox"].s-toggle-switch[disabled] {
5830
5836
  --_tb-searchbar-p: 0 var(--su8);
5831
5837
  --_tb-searchbar-open-d: unset;
5832
5838
  --_tb-searchbar-open-mxw: 0;
5839
+ --_tb-searchbar-popover-wmn: calc(var(--s-step) * 4);
5840
+ --_tb-searchbar-popover-content-mxh: calc(100vh - var(--_tb-h) - var(--su16));
5833
5841
  align-items: center;
5834
5842
  background-color: var(--theme-topbar-background-color, var(--white));
5835
5843
  border-bottom: var(--theme-topbar-bottom-border, var(--su-static1) solid var(--black-225));
@@ -5898,6 +5906,8 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
5898
5906
  --_tb-searchbar-open-d: flex;
5899
5907
  --_tb-searchbar-open-mxw: none;
5900
5908
  --_tb-searchbar-select-w: 25%;
5909
+ --_tb-searchbar-popover-wmn: initial;
5910
+ --_tb-searchbar-popover-content-mxh: calc(100vh - var(--_tb-h) - var(--su48) - var(--su12));
5901
5911
  }
5902
5912
  }
5903
5913
  .s-topbar.s-topbar__light {
@@ -6162,6 +6172,14 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
6162
6172
  .s-topbar .s-topbar--searchbar .s-topbar--searchbar--input-group .s-input-icon {
6163
6173
  color: var(--theme-topbar-search-placeholder, var(--black-400));
6164
6174
  }
6175
+ .s-topbar .s-topbar--searchbar .s-popover {
6176
+ max-width: 100%;
6177
+ min-width: var(--_tb-searchbar-popover-wmn);
6178
+ padding: 0;
6179
+ }
6180
+ .s-topbar .s-topbar--searchbar .s-popover .s-popover--content {
6181
+ max-height: var(--_tb-searchbar-popover-content-mxh);
6182
+ }
6165
6183
  .s-topbar .s-topbar--searchbar .s-select {
6166
6184
  align-self: stretch;
6167
6185
  color: var(--theme-topbar-select-color, var(--black-500));