@stackoverflow/stacks 2.5.2 → 2.5.4

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,12 @@ 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
+ margin: calc(var(--su12) * -1);
3635
+ padding: var(--su12);
3636
+ }
3629
3637
  .s-post-summary {
3630
3638
  --_ps-bb: var(--su1) solid var(--bc-light);
3631
3639
  --_ps-bg: unset;
@@ -5830,6 +5838,8 @@ input[type="checkbox"].s-toggle-switch[disabled] {
5830
5838
  --_tb-searchbar-p: 0 var(--su8);
5831
5839
  --_tb-searchbar-open-d: unset;
5832
5840
  --_tb-searchbar-open-mxw: 0;
5841
+ --_tb-searchbar-popover-wmn: calc(var(--s-step) * 4);
5842
+ --_tb-searchbar-popover-content-mxh: calc(100vh - var(--_tb-h) - var(--su16));
5833
5843
  align-items: center;
5834
5844
  background-color: var(--theme-topbar-background-color, var(--white));
5835
5845
  border-bottom: var(--theme-topbar-bottom-border, var(--su-static1) solid var(--black-225));
@@ -5898,6 +5908,8 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
5898
5908
  --_tb-searchbar-open-d: flex;
5899
5909
  --_tb-searchbar-open-mxw: none;
5900
5910
  --_tb-searchbar-select-w: 25%;
5911
+ --_tb-searchbar-popover-wmn: initial;
5912
+ --_tb-searchbar-popover-content-mxh: calc(100vh - var(--_tb-h) - var(--su48) - var(--su12));
5901
5913
  }
5902
5914
  }
5903
5915
  .s-topbar.s-topbar__light {
@@ -6162,6 +6174,14 @@ body.theme-highcontrast.theme-dark .s-topbar.s-topbar__light {
6162
6174
  .s-topbar .s-topbar--searchbar .s-topbar--searchbar--input-group .s-input-icon {
6163
6175
  color: var(--theme-topbar-search-placeholder, var(--black-400));
6164
6176
  }
6177
+ .s-topbar .s-topbar--searchbar .s-popover {
6178
+ max-width: 100%;
6179
+ min-width: var(--_tb-searchbar-popover-wmn);
6180
+ padding: 0;
6181
+ }
6182
+ .s-topbar .s-topbar--searchbar .s-popover .s-popover--content {
6183
+ max-height: var(--_tb-searchbar-popover-content-mxh);
6184
+ }
6165
6185
  .s-topbar .s-topbar--searchbar .s-select {
6166
6186
  align-self: stretch;
6167
6187
  color: var(--theme-topbar-select-color, var(--black-500));