Skip to content

Commit 6d6978c

Browse files
benjaminkottbmack
authored andcommitted
[TASK] Add small size variants to styleguide components
Add documentation and examples for small size variants (btn-sm, form-control-sm, etc.) to styleguide components, ensuring all available size options are properly demonstrated. To improve discoverability and documentation, descriptive text has been added to all overview cards and detail pages. The overview pages now show brief descriptions helping users understand what each component or style is used for before navigating to the detail page. All component and style detail pages have been enhanced with introductory text for better documentation consistency. Additionally, naming conventions have been unified, HTML sanitization has been standardized across all templates, and minor HTML tag mismatches have been fixed. Resolves: #108149 Releases: main Change-Id: I0fd6c7916ca92e5447269a8b84079ca7d2914993 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/91692 Tested-by: Garvin Hicking <garvin@hick.ing> Reviewed-by: Lina Wolf <112@linawolf.de> Tested-by: core-ci <typo3@b13.com> Tested-by: Benni Mack <benni@typo3.org> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Garvin Hicking <garvin@hick.ing> Tested-by: Lina Wolf <112@linawolf.de>
1 parent 0371edb commit 6d6978c

38 files changed

+711
-328
lines changed

Build/Sources/Sass/module/_styleguide.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
.example-container {
5555
display: flex;
5656
align-items: center;
57+
flex-wrap: wrap;
5758
gap: var(--typo3-spacing);
5859

5960
&.example-container--large-spacing {
@@ -136,6 +137,8 @@
136137
@container (min-width: 740px) {
137138
.styleguide-navigation {
138139
position: sticky;
139-
top: 0;
140+
top: calc(var(--module-docheader-bar-height) + var(--module-body-padding-y));
141+
max-height: calc(100dvh - var(--module-docheader-height) - var(--module-body-padding-y) * 2);
142+
overflow: auto;
140143
}
141144
}

typo3/sysext/backend/Resources/Public/Css/backend.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)