-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(sizing): add missing examples and SASS variables
- Loading branch information
1 parent
dba47f2
commit 38322a8
Showing
3 changed files
with
113 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
<template> | ||
<div> | ||
Sizing / Height example | ||
<div class="d-flex justify-center align-end ga-2 text-caption pa-4" style="height: 300px;"> | ||
<div class="d-flex align-end bg-surface-variant pa-2 rounded h-25">.h-25</div> | ||
|
||
<div class="d-flex align-end bg-surface-variant pa-2 rounded h-50">.h-50</div> | ||
|
||
<div class="d-flex align-end bg-surface-variant pa-2 rounded h-75">.h-75</div> | ||
|
||
<div class="d-flex align-end bg-surface-variant pa-2 rounded h-100">.h-100</div> | ||
</div> | ||
</template> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
<template> | ||
<div> | ||
Sizing / Width example | ||
<div class="d-flex flex-column ga-2 text-caption pa-4"> | ||
<div class="d-flex align-end bg-surface-variant pa-2 rounded w-25">.w-25</div> | ||
|
||
<div class="d-flex align-end bg-surface-variant pa-2 rounded w-33">.w-33</div> | ||
|
||
<div class="d-flex align-end bg-surface-variant pa-2 rounded w-50">.w-50</div> | ||
|
||
<div class="d-flex align-end bg-surface-variant pa-2 rounded w-66">.w-66</div> | ||
|
||
<div class="d-flex align-end bg-surface-variant pa-2 rounded w-75">.w-75</div> | ||
|
||
<div class="d-flex align-end bg-surface-variant pa-2 rounded w-100">.w-100</div> | ||
</div> | ||
</template> |
This file contains 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