Skip to content

Commit 3b2974c

Browse files
authored
Merge pull request #3 from ita-design-system/1-unwanted-overflow-on-large-screens-when-css-value-length-is-high
1 unwanted overflow on large screens when css value length is high
2 parents c1c72f6 + a825fbf commit 3b2974c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/assets/js/bricss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ const bricss = {
547547
},
548548
docPropertyItem: function({property, content, responsiveContent, utilityContent}) {
549549
return `
550-
<li class="dsg__doc__property_item | fg-1 | p-6 | bwidth-1 bstyle-solid bcolor-primary-500 bc-primary-600 brad-2"
550+
<li class="dsg__doc__property_item | fg-1 | p-6 maxw-100 | bwidth-1 bstyle-solid bcolor-primary-500 bc-primary-600 brad-2"
551551
w-100="xs,sm"
552552
data-property="${property}">
553553
<div class="d-flex fd-column gap-6">

index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
<button type="button"
6464
class="d-flex | pl-5 pr-5 pt-4 pb-4 fs-1 | bc-primary-700 b-0"
6565
c-toggle="menu"
66-
data-dismiss="true"
6766
title="Toggle menu"
6867
style="perspective: 5em; transform-style: preserve-3d;">
6968
<span class="d-flex fd-column gap-1 __animation_3"
@@ -134,14 +133,18 @@ <h1 class="d-flex | m-0" d-none="xs,sm">
134133
</form>
135134
<a href="./docs/"
136135
title="Get help"
137-
class="d-flex ai-center gap-1 | fs-2 td-none ff-lead-700 tt-uppercase ws-nowrap | c-primary-100">
136+
class="d-flex ai-center gap-1 | fs-2 td-none ff-lead-700 tt-uppercase ws-nowrap | c-primary-100"
137+
pt-3="xs,sm"
138+
pb-3="xs,sm">
138139
How it works<span class="ff-lead-400 c-secondary-500">?</span>
139140
</a>
140141
<!-- Enter Github link or comment/ remove -->
141142
<a href="./#your-own-github-link"
142143
target="_blank"
143144
title="Open Project Name Github on a new tab"
144-
class="d-flex ai-center | fs-2 td-none ff-lead-700 tt-uppercase c-primary-100">
145+
class="d-flex ai-center | fs-2 td-none ff-lead-700 tt-uppercase c-primary-100"
146+
pt-3="xs,sm"
147+
pb-3="xs,sm">
145148
Github
146149
<svg style="height: 1em;" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link" stroke="var(--dsg-colors-secondary-500)">
147150
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>

0 commit comments

Comments
 (0)