Skip to content

Commit ca25aad

Browse files
committed
feat: breaking change section layout
It is possible to optionally inform if the commit makes a significant change or breaks the compatibility
1 parent b43b0cc commit ca25aad

2 files changed

Lines changed: 34 additions & 1 deletion

File tree

assets/style/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ main {
116116
main > section > form > div > label > a.help:hover {
117117
background-color: #96999c80;
118118
}
119+
main > section > form > div > label > em {
120+
display: block;
121+
width: 100%;
122+
text-align: center;
123+
}
119124
main > section > form > div > label input[type="text"] {
120125
margin: 5px 0;
121126
padding: 7px 14px;

index.html

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,35 @@
228228
</form>
229229

230230
</section>
231-
<section id="breakingChange"></section>
231+
<section id="significantChange">
232+
233+
<details>
234+
<summary>Significant Change</summary>
235+
<ul>
236+
<li>It is possible to inform if the commit makes a significant change or breaks the compatibility, this inserts the identifier "!" after type/scope</li>
237+
</ul>
238+
</details>
239+
240+
<form>
241+
242+
<div>
243+
244+
<label for="significantChangeInput">
245+
<em>
246+
<input type="checkbox" name="significantChange" id="significantChangeInput"> Is a significant change or does it break compatibility?
247+
</em>
248+
</label>
249+
250+
</div>
251+
252+
<nav>
253+
<button type="reset" class="previous"><< Previous</button>
254+
<button type="submit" class="next">Next >></button>
255+
</nav>
256+
257+
</form>
258+
259+
</section>
232260
<section id="result"></section>
233261
</main>
234262

0 commit comments

Comments
 (0)