5htp-core 0.2.6-2 → 0.2.6-4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "5htp-core",
3
3
  "description": "Convenient TypeScript framework designed for Performance and Productivity.",
4
- "version": "0.2.6-2",
4
+ "version": "0.2.6-4",
5
5
  "author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
6
6
  "repository": "git://github.com/gaetanlegac/5htp-core.git",
7
7
  "license": "MIT",
@@ -64,6 +64,7 @@ img.icon {
64
64
  object-position: center;
65
65
  }
66
66
 
67
+ img.logo,
67
68
  i.logo {
68
69
  /*width: 3.2em;
69
70
  height: 3.2em;
@@ -75,11 +76,16 @@ i.logo {
75
76
  line-height: 2em;
76
77
  flex: 0 0 2em;
77
78
 
79
+ background-color: var(--cBg2);
80
+ border-radius: @radius;
81
+ border: none; // For img
82
+ }
83
+
84
+ i.logo {
85
+
78
86
  background-repeat: no-repeat;
79
87
  background-position: center;
80
88
  background-size: cover;
81
- background-color: var(--cBg2);
82
- border-radius: 50%;
83
89
 
84
90
  &.contain {
85
91
  background-color: transparent;
@@ -118,6 +118,7 @@
118
118
  &.al-bottom { align-items: flex-end; }
119
119
  &.al-fill { align-items: stretch; }
120
120
 
121
+ .row-1 { align-self: stretch; }
121
122
  }
122
123
 
123
124
  .col {
@@ -134,6 +135,8 @@
134
135
  &, &.al-fill { align-items: stretch; }
135
136
 
136
137
  &.sep-1 > * + * { border-top: solid 1px var(--cLine); }
138
+
139
+ .col-1 { align-self: stretch; }
137
140
  }
138
141
 
139
142
  .row,
@@ -29,10 +29,11 @@ export default ({ id, title, subtitle, focus, jail, error }: Props) => {
29
29
  if (!page)
30
30
  return;
31
31
 
32
- const fullTitle = title + ' | ' + subtitle;
32
+ page.title = title;
33
+ if (subtitle !== undefined)
34
+ page.title += ' | ' + subtitle;
33
35
 
34
36
  page.bodyId = page.bodyId || id || '';
35
- page.title = fullTitle;
36
37
 
37
38
  if (focus)
38
39
  page.bodyClass.add('focus');