kireji 0.6.5 → 0.6.6

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,6 +1,6 @@
1
1
  {
2
2
  "name": "kireji",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "A web framework for stateful, entropy-perfect, multi-origin web applications. Currently in alpha. Expect breaking changes for version 0. Use with caution!",
5
5
  "files": [
6
6
  "src/",
@@ -147,7 +147,7 @@ scroll-bar>thumb- {
147
147
  height: 100%;
148
148
  margin: 0;
149
149
  width: 160px;
150
- flex-shrink: 0;
150
+ flex-shrink: 1;
151
151
  flex-basis: 160px;
152
152
  display: flex;
153
153
  flex-flow: row nowrap;
@@ -156,6 +156,17 @@ scroll-bar>thumb- {
156
156
  padding: 3px 2px 2px;
157
157
  text-align: left;
158
158
  box-shadow: var(--deep-outset);
159
+ overflow: hidden;
160
+ }
161
+
162
+ .task img {
163
+ flex-shrink: 0;
164
+ }
165
+
166
+ .task span {
167
+ white-space: pre;
168
+ overflow: hidden;
169
+ text-overflow: ellipsis;
159
170
  }
160
171
 
161
172
  body {
@@ -1 +1 @@
1
- return `<button class="task${INSTANCE.application === _.application ? " pressed" : ""}" ${windows.pointAttr("point", INSTANCE_INDEX)} tabIndex=0><img src="${INSTANCE.application.placeholderImage("part.png")}"/><span>${INSTANCE.application.title}</span></button>`
1
+ return `<button class="task${INSTANCE.application === _.application ? " pressed" : ""}" ${windows.pointAttr("point", INSTANCE_INDEX)} tabIndex=0 data-host="${INSTANCE.application.host}"><img src="${INSTANCE.application.placeholderImage("part.png")}"/><span class="title">${INSTANCE.application.title}</span></button>`