Skip to content

Commit 16f0b0b

Browse files
cap mid-width at 98%
1 parent 045ffc2 commit 16f0b0b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

docs/cbf/assets/stylesheets/extra.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
}
3232

3333
.md-grid {
34-
max-width: 200ch;
34+
max-width: min(200ch, 98%);
3535
transition: max-width 0.3s ease;
3636
}
3737

3838
[data-md-width="wide"] .md-grid {
39-
max-width: 270ch;
39+
max-width: min(270ch, 98%);
4040
}
4141

4242
[data-md-width="full"] .md-grid {

docs/invui/assets/stylesheets/extra.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
}
3232

3333
.md-grid {
34-
max-width: 200ch;
34+
max-width: min(200ch, 98%);
3535
transition: max-width 0.3s ease;
3636
}
3737

3838
[data-md-width="wide"] .md-grid {
39-
max-width: 270ch;
39+
max-width: min(270ch, 98%);
4040
}
4141

4242
[data-md-width="full"] .md-grid {

docs/invui2/assets/stylesheets/extra.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
}
3232

3333
.md-grid {
34-
max-width: 200ch;
34+
max-width: min(200ch, 98%);
3535
transition: max-width 0.3s ease;
3636
}
3737

3838
[data-md-width="wide"] .md-grid {
39-
max-width: 270ch;
39+
max-width: min(270ch, 98%);
4040
}
4141

4242
[data-md-width="full"] .md-grid {

docs/nova/assets/stylesheets/extra.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
}
3232

3333
.md-grid {
34-
max-width: 200ch;
34+
max-width: min(200ch, 98%);
3535
transition: max-width 0.3s ease;
3636
}
3737

3838
[data-md-width="wide"] .md-grid {
39-
max-width: 270ch;
39+
max-width: min(270ch, 98%);
4040
}
4141

4242
[data-md-width="full"] .md-grid {

0 commit comments

Comments
 (0)