Skip to content

Commit

Permalink
Issue 914 (#370)
Browse files Browse the repository at this point in the history
* Update styles.css

Inserted addition px data

* Update content-text-body.css

Updated the code for fixes mentioned in issue 914

* Update short-cards.css

Fixes related to Issue 914

* Update content-text-body.css

content-text-body h5 - merged into one

* Update breadcrumb.css

Text replacement from "..." to "Home"

* Updated content-text-body.css

Spacing re-adjusted to 8 px

---------

Co-authored-by: keith-kaplan <[email protected]>
Co-authored-by: Ajeet Nellikeri <[email protected]>
  • Loading branch information
3 people authored Feb 5, 2024
1 parent 398280c commit 406656d
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion blocks/breadcrumb/breadcrumb.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ main .section.breadcrumb-container > div:first-child > *:first-child > *:first-c
}

.breadcrumb .breadcrumb__col ul li.breadcrumb__ellipsis::before {
content: "...";
content: "Home";
}

.breadcrumb .breadcrumb__col ul li.breadcrumb__ellipsis span {
Expand Down
19 changes: 14 additions & 5 deletions blocks/content-text-body/content-text-body.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,31 @@
/* Block - Content Text Body */
.content-text-body h2,
.content-text-body h3,
.content-text-body h4,
.content-text-body h5 {
margin: var(--spacer-element-08) 0 0 0;

.content-text-body h4 {
margin: var(--spacer-element-11) 0 0 0;
}

.content-text-body h5 {
margin: var(--spacer-element-05) 0 0 0;
font-family: var(--sans-serif-font-light);
font-size: var(--font-size-16);
font-weight: 300;
}

.content-text-body li::marker {
font-size: var(--font-size-21) !important;
}

.content-text-body ul li {
margin: var(--spacer-element-03) 0 0 0;
}

.content-text-body p,
.content-text-body ul,
.content-text-body ol,
.content-text-body blockquote {
margin: var(--spacer-element-08) 0 0 0;
margin: var(--spacer-element-03) 0 0 0;
font-size: var(--font-size-16);
}

Expand All @@ -37,7 +46,7 @@
.content-text-body h5 + ul,
.content-text-body h5 + p,
.content-text-body p + ul {
margin-top: 0;
margin-top: 8;
}

.content-text-body p span.icon {
Expand Down
2 changes: 1 addition & 1 deletion blocks/short-cards/short-cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ main .section.short-cards-container.section-full-width > .short-cards-wrapper:la
min-height: var(--spacer-layout-06);
padding: var(--spacer-element-08);
font-size: var(--font-size-18);
font-family: var(--sans-serif-font-medium);
font-family: var(--sans-serif-font-regular);
font-weight: 500;
line-height: 160%;
text-decoration: none;
Expand Down
1 change: 1 addition & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
--spacer-element-08: 32px;
--spacer-element-09: 40px;
--spacer-element-10: 48px;
--spacer-element-11: 64px;

/* layout spacers */
--spacer-layout-01: 16px;
Expand Down

0 comments on commit 406656d

Please sign in to comment.