Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Style Guide 2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Weby
Style Guide 2
Commits
d1d62505
Verified
Commit
d1d62505
authored
1 year ago
by
Alexa Valentová
Browse files
Options
Downloads
Patches
Plain Diff
add figure
parent
f4d08c16
No related branches found
No related tags found
1 merge request
!29
Feat/redesign
Pipeline
#18365
passed
1 year ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
majak_uistyleguide/templates/patterns/atoms/figure/figure.html
+12
-0
12 additions, 0 deletions
..._uistyleguide/templates/patterns/atoms/figure/figure.html
majak_uistyleguide/templates/patterns/atoms/figure/figure.yaml
+4
-0
4 additions, 0 deletions
..._uistyleguide/templates/patterns/atoms/figure/figure.yaml
with
16 additions
and
0 deletions
majak_uistyleguide/templates/patterns/atoms/figure/figure.html
0 → 100644
+
12
−
0
View file @
d1d62505
<figure
class=
"flex flex-col gap-2 max-w-max p-4"
>
<img
src=
"{{ source }}"
alt=
"{{ alt }}"
>
{% if caption %}
<figcaption
class=
"text-grey-250 italic text-sm"
>
{{ caption }}
</figcaption>
{% endif %}
</figure>
This diff is collapsed.
Click to expand it.
majak_uistyleguide/templates/patterns/atoms/figure/figure.yaml
0 → 100644
+
4
−
0
View file @
d1d62505
context
:
source
:
https://picsum.photos/536/354
alt
:
'
Picture
of
Elephant'
caption
:
'
Picture
of
Elephant'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment