Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uw_wcms_ohana
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor 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
WCMS
uw_wcms_ohana
Commits
d42148b4
Commit
d42148b4
authored
1 year ago
by
Martin Leblanc
Committed by
Eric Bremner
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6038: Add css to copy-text embeded media - images
parent
5be9ceb7
No related branches found
No related tags found
1 merge request
!102
ISTWCMS-6038: Add css to copy-text embeded media - images
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/patterns/04-components/copy-text/_copy-text.scss
+8
-9
8 additions, 9 deletions
src/patterns/04-components/copy-text/_copy-text.scss
src/patterns/04-components/image/_image.scss
+4
-4
4 additions, 4 deletions
src/patterns/04-components/image/_image.scss
with
12 additions
and
13 deletions
src/patterns/04-components/copy-text/_copy-text.scss
+
8
−
9
View file @
d42148b4
...
...
@@ -8,24 +8,23 @@
}
.media
{
&
.align-left
{
padding-right
:
var
(
--
size-2
);
img
{
margin
:
0
var
(
--
size-2
)
0
0
;
}
}
&
.align-center
{
padding-left
:
0
;
padding-right
:
0
;
text-align
:
center
;
img
{
display
:
block
;
margin
:
0
auto
;
img
{
margin
:
0
auto
var
(
--
size-1
)
auto
;
}
}
&
.align-right
{
padding-left
:
var
(
--
size-2
);
img
{
margin
:
0
0
0
var
(
--
size-2
);
}
}
}
...
...
This diff is collapsed.
Click to expand it.
src/patterns/04-components/image/_image.scss
+
4
−
4
View file @
d42148b4
.block-uw-cbl-image
{
.block-uw-cbl-image
{
.uw-image
{
display
:
flex
;
flex-flow
:
column
;
width
:
100%
;
img
{
img
{
display
:
block
;
max-width
:
100%
;
}
&
__figure
{
&
__figure
{
display
:
table
;
min-width
:
9rem
;
}
&
__caption
{
&
__caption
{
caption-side
:
bottom
;
display
:
table-caption
;
}
...
...
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