Skip to content

Commit e184676

Browse files
committed
feat: body section layout
1 parent 6b7b14c commit e184676

2 files changed

Lines changed: 42 additions & 1 deletion

File tree

assets/style/index.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,18 @@ main {
110110
width: 300px;
111111
max-width: calc(100% - 50px);
112112
}
113+
main > section > form > div > label > textarea {
114+
margin: 5px 0;
115+
padding: 7px 14px;
116+
border: none;
117+
border-left: 1px solid #aaa;
118+
border-right: 1px solid #aaa;
119+
width: 100%;
120+
height: 250px;
121+
font-size: 14px;
122+
123+
border-radius: 5px;
124+
}
113125
main > section > form > nav {
114126
position: absolute;
115127
padding: 0 15px;

index.html

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,36 @@
146146
</form>
147147

148148
</section>
149-
<section id="body"></section>
149+
<section id="body">
150+
151+
<details>
152+
<summary>Body</summary>
153+
<ul>
154+
<li>Use the imperative, present: "change" not "changed" nor "changes"</li>
155+
<li>Describe and justify in detail the change</li>
156+
<li>It should include the motivation and, if possible, a comparison with previous behavior</li>
157+
</ul>
158+
</details>
159+
160+
<form>
161+
162+
<div>
163+
164+
<label for="bodyInput">
165+
<textarea name="body" id="bodyInput" minlength="20" placeholder="Add an optional extended description…"></textarea>
166+
</label>
167+
168+
</div>
169+
170+
<nav>
171+
<button type="reset" class="previous"><< Previous</button>
172+
<button type="submit" class="finish">Finish</button>
173+
<button type="submit" class="next">Next >></button>
174+
</nav>
175+
176+
</form>
177+
178+
</section>
150179
<section id="footer"></section>
151180
<section id="breakingChange"></section>
152181
<section id="result"></section>

0 commit comments

Comments
 (0)