Skip to content

Commit

Permalink
Condense related info to the same paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
MisRob committed Sep 18, 2024
1 parent 5f427cd commit 7bb2e0f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions docs/pages/kcard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
</KCardGrid>
</DocsShow>

<p>It is inteded for use with <code>KCardGrid</code>.</p>

<p>Below is an overview of <code>KCard</code>'s features and best practices focused on its inner content. To learn more about card grids and related <code>KCard</code> features, see <DocsLibraryLink component="KCardGrid" />.</p>
<p>It is inteded for use with <code>KCardGrid</code>. Below is an overview of <code>KCard</code>'s features and best practices focused on its inner content. To learn more about card grids and related <code>KCard</code> features, see <DocsLibraryLink component="KCardGrid" />.</p>
</DocsPageSection>

<DocsPageSection title="Guidelines" anchor="#guidelines">
Expand Down
6 changes: 1 addition & 5 deletions docs/pages/kcardgrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,7 @@

<p>Cards displayed in <code>KCardGrid</code> stretch vertically to fit their content, making a grid row height match its tallest card.</p>

<p><em>Setting height on cards is discouraged. Instead, manage card height by setting height on its sections, using text truncation, or other ways to limit content.</em></p>

<p>Such techniques ensure content tolerance, prevent excessive card heights, and keep vertical alignment of card sections consistent on a grid row. This is especially important when dealing with unknown lenghts or amounts of content displayed in cards.</p>

<p>Consider the following:</p>
<p><em>Setting height on cards is discouraged. Instead, manage card height by setting height on its sections, using text truncation, or other ways to limit content.</em> Such techniques ensure content tolerance, prevent excessive card heights, and keep vertical alignment of card sections consistent on a grid row. This is especially important when dealing with unknown lenghts or amounts of content displayed in cards. Consider:</p>

<DocsShow language="html">
<KCardGrid layout="1-2-3">
Expand Down

0 comments on commit 7bb2e0f

Please sign in to comment.