Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit f43587e

Browse files
committed
[bug] fix greeting and transitional text alignment
1 parent a0ac0e7 commit f43587e

5 files changed

Lines changed: 21 additions & 20 deletions

File tree

src/css/clock.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
.is-header-item-alignment-right .clock {
2424
justify-content: flex-end;
25-
}
25+
}
2626

2727
.clock-separator,
2828
.clock-hours,
@@ -56,6 +56,7 @@
5656
.is-header-item-alignment-center .clock-item:not(:first-child) {
5757
margin-left: 0.1em;
5858
}
59+
5960
.is-header-item-alignment-center .clock-item:not(:last-child) {
6061
margin-right: 0.1em;
6162
}

src/css/greeting.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
flex-wrap: nowrap;
1313
}
1414

15-
.is-header-item-alignment-horizontal-left .greeting {
16-
justify-content: flex-start;
15+
.is-header-item-alignment-left .greeting {
16+
text-align: left;
1717
}
1818

19-
.is-header-item-alignment-horizontal-center .greeting {
20-
justify-content: center;
19+
.is-header-item-alignment-center .greeting {
20+
text-align: center;
2121
}
2222

23-
.is-header-item-alignment-horizontal-right .greeting {
24-
justify-content: flex-end;
23+
.is-header-item-alignment-right .greeting {
24+
text-align: right;
2525
}
2626

2727
.greeting-item {

src/css/transitional.css

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@
1212
flex-wrap: nowrap;
1313
}
1414

15-
.transitional-item {
16-
font-size: 1.5em;
17-
max-width: 100%;
18-
display: flex;
19-
justify-content: center;
20-
align-items: center;
21-
}
22-
23-
.is-header-item-alignment-horizontal-left .transitional {
15+
.is-header-item-alignment-left .transitional {
2416
text-align: left;
2517
}
2618

27-
.is-header-item-alignment-horizontal-center .transitional {
19+
.is-header-item-alignment-center .transitional {
2820
text-align: center;
2921
}
3022

31-
.is-header-item-alignment-horizontal-right .transitional {
23+
.is-header-item-alignment-right .transitional {
3224
text-align: right;
3325
}
26+
27+
.transitional-item {
28+
font-size: 1.5em;
29+
max-width: 100%;
30+
display: flex;
31+
justify-content: center;
32+
align-items: center;
33+
}

src/js/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var version = (function() {
22

3-
var current = "3.30.2";
3+
var current = "3.30.3";
44

55
var compare = function(a, b) {
66
var pa = a.split(".");

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "nightTab",
33
"short_name": "nightTab",
44
"description": "A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks in nightTab.",
5-
"version": "3.30.2",
5+
"version": "3.30.3",
66
"manifest_version": 2,
77
"chrome_url_overrides": {
88
"newtab": "index.html"

0 commit comments

Comments
 (0)