Skip to content

Commit 224cc37

Browse files
committed
Add version number back into About window
1 parent cc1fe17 commit 224cc37

3 files changed

Lines changed: 20 additions & 7 deletions

File tree

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
<h1 id="about-paint-header">
8080
<img src="images/icons/32x32.png" width="32" height="32" id="paint-32x32" alt="" />
8181
<span id="jspaint-project-name">JS Paint</span>
82-
<!-- <small id="jspaint-version" title="expect bugs!">Alpha</small> -->
82+
<small id="jspaint-version"
83+
title="About time to increment the version number, don't you think?">v1.0.0+</small>
8384
<button id="view-project-news">What's New?</button>
8485
</h1>
8586

styles/layout.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -967,19 +967,25 @@ input[type="radio"] + label::before {
967967
#about-paint-header {
968968
display: flex;
969969
flex-direction: row;
970+
flex-wrap: wrap;
970971
margin: 0;
971972
margin-top: 30px;
972973
margin-bottom: 10px;
974+
line-height: 30px;
973975
}
974976
#jspaint-project-name {
975977
margin-left: 10px;
976978
margin-right: 8px;
977979
white-space: nowrap;
978980
}
979981
#jspaint-version {
980-
/* @TODO: separate into a shared.css? (not really layout!) */
981-
font-size: 0.6em;
982-
color: #7b7b7b;
982+
/* @TODO: separate some of this into a shared.css? (not all layout!) */
983+
font-size: 0.7em;
984+
font-weight: normal;
985+
vertical-align: bottom;
986+
/* limited by Bubblegum theme's layout FYI */
987+
margin-left: 2px;
988+
display: inline-block;
983989
}
984990
#maybe-outdated-line {
985991
font-style: italic;

styles/layout.rtl.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -967,19 +967,25 @@ input[type="radio"] + label::before {
967967
#about-paint-header {
968968
display: flex;
969969
flex-direction: row;
970+
flex-wrap: wrap;
970971
margin: 0;
971972
margin-top: 30px;
972973
margin-bottom: 10px;
974+
line-height: 30px;
973975
}
974976
#jspaint-project-name {
975977
margin-right: 10px;
976978
margin-left: 8px;
977979
white-space: nowrap;
978980
}
979981
#jspaint-version {
980-
/* @TODO: separate into a shared.css? (not really layout!) */
981-
font-size: 0.6em;
982-
color: #7b7b7b;
982+
/* @TODO: separate some of this into a shared.css? (not all layout!) */
983+
font-size: 0.7em;
984+
font-weight: normal;
985+
vertical-align: bottom;
986+
/* limited by Bubblegum theme's layout FYI */
987+
margin-right: 2px;
988+
display: inline-block;
983989
}
984990
#maybe-outdated-line {
985991
font-style: italic;

0 commit comments

Comments
 (0)