Skip to content

Commit fcf6d23

Browse files
committed
simplify tw margin
1 parent e6d36d0 commit fcf6d23

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

components/Branding/LogoSection/LogoSection.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ function LogoSection() {
3939
theme="gray"
4040
hasTitleUnderline
4141
columns={[
42-
<ul className="space-y-4">
42+
<ul className="space-y-4 [&>li>p]:my-4">
4343
{/* - SMALL LOGOS - */}
4444
<li>
4545
<h5 className="text-center">Small Logos</h5>
46-
<p className="mx-auto my-4">
46+
<p className="mx-auto">
4747
For use when Operation Code&apos;s logo name is between 0-1 inch in height. In most
4848
cases, use the Original Small Logo. The Stacked Small Logo is to be used where
4949
graphics needs are larger in vertical height than horizontal width with the Operation
@@ -74,7 +74,7 @@ function LogoSection() {
7474
</li>
7575
<li>
7676
<h6 className="text-center">Stacked Logos</h6>
77-
<p className="mx-auto my-4">
77+
<p className="mx-auto">
7878
Use the Large Stacked Original logo in areas where you have more vertical space
7979
than horizontal. Only use the Red Stacked Logo for special holidays such as
8080
Thanksgiving, fall events, and Christmas. The Light Stacked Logo is to be used
@@ -102,7 +102,7 @@ function LogoSection() {
102102

103103
<li>
104104
<h6 className="text-center">Medals</h6>
105-
<p className="mx-auto my-4">
105+
<p className="mx-auto">
106106
Use the following medals when you are prompted to upload a thumbnail logo only or
107107
profile photo. In most cases, use the OC Blue Medal. The Red Medal should only be
108108
used for holidays and special events (such as Thanksgiving, fall, or Christmas).
@@ -131,7 +131,7 @@ function LogoSection() {
131131

132132
<li>
133133
<h6 className="text-center">Badges</h6>
134-
<p className="mx-auto my-4">
134+
<p className="mx-auto">
135135
You may also use badges as a profile photo or thumbnail. Badges should be used to
136136
accompany corporate sponsors or alliance partnerships on shared branding. Use the
137137
original OC Blue Badge in most cases, except the Red Badge for special events and
@@ -163,7 +163,7 @@ function LogoSection() {
163163
{/* - LARGE LOGOS - */}
164164
<li>
165165
<h5 className="text-center">Large Logos</h5>
166-
<p className="mx-auto my-4">
166+
<p className="mx-auto">
167167
Use the Original Large Logo in almost all cases above 1 inch in height. The Red Large
168168
Logo is to be used in special events (such as Thanksgiving, fall or Christmas), and
169169
the Light Large Logo is to be used with dark backgrounds or bright colored

components/Branding/LogoSection/__tests__/__snapshots__/LogoSection.test.tsx.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ exports[`LogoSection > should render with required props 1`] = `
55
columns={
66
[
77
<ul
8-
className="space-y-4"
8+
className="space-y-4 [&>li>p]:my-4"
99
>
1010
<li>
1111
<h5
@@ -14,7 +14,7 @@ exports[`LogoSection > should render with required props 1`] = `
1414
Small Logos
1515
</h5>
1616
<p
17-
className="mx-auto my-4"
17+
className="mx-auto"
1818
>
1919
For use when Operation Code's logo name is between 0-1 inch in height. In most cases, use the Original Small Logo. The Stacked Small Logo is to be used where graphics needs are larger in vertical height than horizontal width with the Operation Code logo name still under 1 inch in height.
2020
</p>
@@ -95,7 +95,7 @@ exports[`LogoSection > should render with required props 1`] = `
9595
Stacked Logos
9696
</h6>
9797
<p
98-
className="mx-auto my-4"
98+
className="mx-auto"
9999
>
100100
Use the Large Stacked Original logo in areas where you have more vertical space than horizontal. Only use the Red Stacked Logo for special holidays such as Thanksgiving, fall events, and Christmas. The Light Stacked Logo is to be used with dark or contrasting bright colored backgrounds.
101101
</p>
@@ -153,7 +153,7 @@ exports[`LogoSection > should render with required props 1`] = `
153153
Medals
154154
</h6>
155155
<p
156-
className="mx-auto my-4"
156+
className="mx-auto"
157157
>
158158
Use the following medals when you are prompted to upload a thumbnail logo only or profile photo. In most cases, use the OC Blue Medal. The Red Medal should only be used for holidays and special events (such as Thanksgiving, fall, or Christmas). The Navy Medal should be used memorandums or lighter bright colored backgrounds.
159159
</p>
@@ -211,7 +211,7 @@ exports[`LogoSection > should render with required props 1`] = `
211211
Badges
212212
</h6>
213213
<p
214-
className="mx-auto my-4"
214+
className="mx-auto"
215215
>
216216
You may also use badges as a profile photo or thumbnail. Badges should be used to accompany corporate sponsors or alliance partnerships on shared branding. Use the original OC Blue Badge in most cases, except the Red Badge for special events and holidays (Thanksgiving, fall and Christmas). The Navy Badge may be used with light backgrounds and bright colored backgrounds.
217217
</p>
@@ -271,7 +271,7 @@ exports[`LogoSection > should render with required props 1`] = `
271271
Large Logos
272272
</h5>
273273
<p
274-
className="mx-auto my-4"
274+
className="mx-auto"
275275
>
276276
Use the Original Large Logo in almost all cases above 1 inch in height. The Red Large Logo is to be used in special events (such as Thanksgiving, fall or Christmas), and the Light Large Logo is to be used with dark backgrounds or bright colored backgrounds.
277277
</p>

0 commit comments

Comments
 (0)