Skip to content

Commit aaed9a7

Browse files
committed
Move version number to a new line in About window
1 parent 224cc37 commit aaed9a7

3 files changed

Lines changed: 8 additions & 17 deletions

File tree

index.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,12 @@
7878
<div id="about-paint" style="display: none">
7979
<h1 id="about-paint-header">
8080
<img src="images/icons/32x32.png" width="32" height="32" id="paint-32x32" alt="" />
81-
<span id="jspaint-project-name">JS Paint</span>
82-
<small id="jspaint-version"
83-
title="About time to increment the version number, don't you think?">v1.0.0+</small>
81+
<div id="jspaint-project-name-and-version">
82+
<div id="jspaint-project-name">JS Paint</div>
83+
<div id="jspaint-version" title="About time to increment the version number, don't you think?">
84+
Version 1.0.0+
85+
</div>
86+
</div>
8487
<button id="view-project-news">What's New?</button>
8588
</h1>
8689

styles/layout.css

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -971,21 +971,15 @@ input[type="radio"] + label::before {
971971
margin: 0;
972972
margin-top: 30px;
973973
margin-bottom: 10px;
974-
line-height: 30px;
975974
}
976-
#jspaint-project-name {
975+
#jspaint-project-name-and-version {
977976
margin-left: 10px;
978-
margin-right: 8px;
979977
white-space: nowrap;
980978
}
981979
#jspaint-version {
982980
/* @TODO: separate some of this into a shared.css? (not all layout!) */
983981
font-size: 0.7em;
984982
font-weight: normal;
985-
vertical-align: bottom;
986-
/* limited by Bubblegum theme's layout FYI */
987-
margin-left: 2px;
988-
display: inline-block;
989983
}
990984
#maybe-outdated-line {
991985
font-style: italic;

styles/layout.rtl.css

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -971,21 +971,15 @@ input[type="radio"] + label::before {
971971
margin: 0;
972972
margin-top: 30px;
973973
margin-bottom: 10px;
974-
line-height: 30px;
975974
}
976-
#jspaint-project-name {
975+
#jspaint-project-name-and-version {
977976
margin-right: 10px;
978-
margin-left: 8px;
979977
white-space: nowrap;
980978
}
981979
#jspaint-version {
982980
/* @TODO: separate some of this into a shared.css? (not all layout!) */
983981
font-size: 0.7em;
984982
font-weight: normal;
985-
vertical-align: bottom;
986-
/* limited by Bubblegum theme's layout FYI */
987-
margin-right: 2px;
988-
display: inline-block;
989983
}
990984
#maybe-outdated-line {
991985
font-style: italic;

0 commit comments

Comments
 (0)