Skip to content

Commit bfdfb77

Browse files
committed
fix: update layout for improved readability
- remove narrow class from section inner div - adjust CSS to enhance section styling
1 parent 9363ed4 commit bfdfb77

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

docs/assets/site.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,6 @@ p {
500500
background: rgba(255, 255, 255, 0.03);
501501
border-top: 1px solid rgba(255, 255, 255, 0.04);
502502
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
503-
max-width: var(--max-width);
504-
margin-inline: auto;
505503
}
506504

507505
.section--accent {

docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ <h1>Build PowerShell modules with a workflow you can actually understand</h1>
108108

109109
<main>
110110
<section class="section section--muted">
111-
<div class="section__inner narrow">
111+
<div class="section__inner">
112112
<h2>This site is organized around how developers actually adopt the tool</h2>
113113
<p>You should not need to read built-in help cover to cover to become productive. Start with the quickstart,
114114
jump to the exact task you need next, and use the reference pages when you are tuning configuration or

tests/DocsSiteLayout.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Describe 'docs site layout guardrails' {
3030

3131
$indexPage | Should -Match '<header class="hero">'
3232
$indexPage | Should -Match '<p class="lead">'
33-
$indexPage | Should -Match 'class="section__inner narrow"'
33+
$indexPage | Should -Match 'class="section__inner"'
3434
$indexPage | Should -Match 'class="section-heading"'
3535
}
3636

0 commit comments

Comments
 (0)