Skip to content

Commit d42c400

Browse files
authored
Merge pull request #47 from couchbase/ui-bug-fixes
Set max width for image
2 parents a2e1ec2 + b913c66 commit d42c400

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/css/doc.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@ ul ul ul {
385385
/* padding-left: var(--base-space); */
386386
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
387387
border-radius: 5px;
388+
align-items: center;
389+
max-width: var(--image-block-container);
388390
}
389391

390392
.doc .imageblock img {

src/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ main p {
6464
color: var(--color-brand-blue-secondary);
6565
}
6666

67-
.article-banner p .fab {
67+
.article-banner p svg {
6868
margin-right: 10px;
6969
font-size: var(--heading-h3);
7070
}

src/css/vars.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,9 @@
132132
--heading-h2-sm: 1.75rem; /* ~28px */
133133
--heading-h3-sm: 1.25rem; /* ~20px */
134134
--heading-h4-sm: 0.875rem; /* ~14px */
135+
136+
/* --image-block-max width */
137+
138+
--image-block-container: 64rem; /* ~ 1024px */
139+
135140
}

0 commit comments

Comments
 (0)