Skip to content

Commit 5396640

Browse files
authored
Merge pull request #2974 from EtienneHosman/master
docs: Examples more consistent indenting
2 parents 81f37ea + 7fd4423 commit 5396640

File tree

1 file changed

+26
-25
lines changed

1 file changed

+26
-25
lines changed

doc/basic.md

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ First, we will implement the skeleton which are the sections. Here, our email is
5151
<!-- Company Header -->
5252
<mj-section background-color="#f0f0f0">
5353
<mj-column>
54-
<mj-text align="center"
55-
font-style="italic"
56-
font-size="20px"
57-
color="#626262">
54+
<mj-text align="center"
55+
font-style="italic"
56+
font-size="20px"
57+
color="#626262">
5858
My Company
5959
</mj-text>
6060
</mj-column>
@@ -78,18 +78,17 @@ The text padding represents the inner space around the content within the `mj-te
7878
background-repeat="no-repeat">
7979

8080
<mj-column width="600px">
81-
<mj-text align="center"
82-
color="#fff"
83-
font-size="40px"
84-
font-family="Helvetica Neue">
85-
Slogan here
86-
</mj-text>
81+
<mj-text align="center"
82+
color="#fff"
83+
font-size="40px"
84+
font-family="Helvetica Neue">
85+
Slogan here
86+
</mj-text>
8787

8888
<mj-button background-color="#F63A4D"
8989
href="#">
9090
Promotion
9191
</mj-button>
92-
9392
</mj-column>
9493

9594
</mj-section>
@@ -109,20 +108,21 @@ In order to have the background rendered full-width in the column, set the colum
109108

110109
<!-- Intro text -->
111110
<mj-section background-color="#fafafa">
112-
<mj-column width="400px">
113-
114-
<mj-text font-style="italic"
115-
font-size="20px"
116-
font-family="Helvetica Neue"
117-
color="#626262">My Awesome Text</mj-text>
118-
119-
<mj-text color="#525252">
120-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras id dui lectus. Vestibulum sed finibus lectus, sit amet suscipit nibh. Proin nec commodo purus. Sed eget nulla elit. Nulla aliquet mollis faucibus.
121-
</mj-text>
122-
123-
<mj-button background-color="#F45E43"
124-
href="#">Learn more</mj-button>
111+
<mj-column width="400px">
112+
<mj-text font-style="italic"
113+
font-size="20px"
114+
font-family="Helvetica Neue"
115+
color="#626262">
116+
My Awesome Text
117+
</mj-text>
118+
<mj-text color="#525252">
119+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras id dui lectus. Vestibulum sed finibus lectus, sit amet suscipit nibh. Proin nec commodo purus. Sed eget nulla elit. Nulla aliquet mollis faucibus.
120+
</mj-text>
125121

122+
<mj-button background-color="#F45E43"
123+
href="#">
124+
Learn more
125+
</mj-button>
126126
</mj-column>
127127
</mj-section>
128128

@@ -154,7 +154,8 @@ The title is a regular `mj-text` that can be customized.
154154
</mj-text>
155155

156156
<mj-text color="#525252">
157-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras id dui lectus. Vestibulum sed finibus lectus.</mj-text>
157+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin rutrum enim eget magna efficitur, eu semper augue semper. Aliquam erat volutpat. Cras id dui lectus. Vestibulum sed finibus lectus.
158+
</mj-text>
158159

159160
</mj-column>
160161
</mj-section>

0 commit comments

Comments
 (0)