fix(core/structure): prevent section header wrappers from collapsing in flex layouts#5203
Draft
fix(core/structure): prevent section header wrappers from collapsing in flex layouts#5203
Conversation
Copilot
AI
changed the title
[WIP] Fix layout bug due to use of flexbox
Prevent section header wrappers from collapsing in flex layouts
Apr 17, 2026
Contributor
|
@copilot can you check ci, lint and prettier? |
Contributor
Author
Checked on
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
8e80b52 to
6afa072
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Some specs showed content (lists/paragraphs) wrapping beside section headers instead of flowing to the next line when heading wrappers were rendered as flex items with intrinsic width. This came from ReSpec’s own header wrapper styling, not author-side overrides.
Root cause and scope
core/id-headerswraps headings + self-links in.header-wrapper.header-wrapperuseddisplay: flexbut had no explicit width, so in parent flex contexts it could shrink to content width and allow subsequent blocks to sit beside itChange
src/styles/respec.css.js: addwidth: 100%to.header-wrapperRegression coverage
tests/spec/core/style-spec.jsto verify the.header-wrapperrule includeswidth: 100%in ReSpec CSS output/sourceWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
accounts.google.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=5329 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-77664666 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,6233336769865853176,10298726494312579876,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,17878485836502475742,10653611245741574178,4 --trace-process-track-uuid=3190708989122997041(dns block)android.clients.google.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)api.specref.org/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=5329 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-77664666 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,6233336769865853176,10298726494312579876,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,17878485836502475742,10653611245741574178,4 --trace-process-track-uuid=3190708989122997041(dns block)cdn.jsdelivr.net/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)clients2.google.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=5329 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-77664666 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,6233336769865853176,10298726494312579876,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,17878485836502475742,10653611245741574178,4 --trace-process-track-uuid=3190708989122997041(dns block)clientservices.googleapis.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=5329 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-77664666 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,6233336769865853176,10298726494312579876,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,17878485836502475742,10653611245741574178,4 --trace-process-track-uuid=3190708989122997041(dns block)optimizationguide-pa.googleapis.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)redirector.gvt1.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=5329 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-77664666 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,6233336769865853176,10298726494312579876,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,17878485836502475742,10653611245741574178,4 --trace-process-track-uuid=3190708989122997041(dns block)respec.org/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=5329 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-77664666 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,6233336769865853176,10298726494312579876,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,17878485836502475742,10653611245741574178,4 --trace-process-track-uuid=3190708989122997041(dns block)safebrowsingohttpgateway.googleapis.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=5329 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-77664666 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,6233336769865853176,10298726494312579876,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,17878485836502475742,10653611245741574178,4 --trace-process-track-uuid=3190708989122997041(dns block)tools.geostandaarden.nl/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)www.google.com/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=4841 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-65656918 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,7655763157834772108,8763185125626960455,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,11528310364466209100,17741780326063496864,4 --trace-process-track-uuid=3190708989122997041(dns block)/opt/google/chrome/chrome /usr/bin/google-chrome --user-data-dir=/tmp/karma-65656918 --enable-automation --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --disable-translate --disable-REDACTED-timer-throttling --disable-renderer-REDACTEDing --disable-device-discovery-notifications http://localhost:9876/?id=65656918 --headless --disable-gpu --disable-dev-shm-usage --remote-debugging-port=9222(dns block)/proc/self/exe /proc/self/exe --type=utility --utility-sub-type=network.mojom.NetworkService --lang=en-US --service-sandbox-type=none --disable-dev-shm-usage --use-angle=swiftshader-webgl --crashpad-handler-pid=5329 --enable-crash-reporter=, --noerrdialogs --user-data-dir=/tmp/karma-77664666 --change-stack-guard-on-fork=enable --shared-files=v8_context_snapshot_data:100 --field-trial-handle=3,i,6233336769865853176,10298726494312579876,262144 --disable-features=PaintHolding --variations-seed-version --pseudonymization-salt-handle=7,i,17878485836502475742,10653611245741574178,4 --trace-process-track-uuid=3190708989122997041(dns block)www.w3.org/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)/usr/bin/curl curl -Ls REDACTED(dns block)/usr/bin/curl curl -I REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either: