Compare commits

...

1 Commits

Author SHA1 Message Date
Stefan Zermatten
ce224301b2 Fixed layout on chrome 49+, made character names into links 2016-02-01 09:34:22 +02:00
6 changed files with 28 additions and 12 deletions

View File

@@ -6,6 +6,7 @@
padding: 8px 0 8px 16px; padding: 8px 0 8px 16px;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
text-decoration: none;
} }
.singleLineItem core-icon { .singleLineItem core-icon {

View File

@@ -3,11 +3,12 @@
{{#if characters.count}} {{#if characters.count}}
<div> <div>
{{#each characters}} {{#each characters}}
<div class="singleLineItem characterRepresentative" <a href={{pathFor route="characterSheet" data=this}}
class="singleLineItem characterRepresentative"
layout horizontal center> layout horizontal center>
<core-icon icon="image:brightness-1"></core-icon> <core-icon icon="image:brightness-1"></core-icon>
<div>{{name}}</div> <div>{{name}}</div>
</div> </a>
{{/each}} {{/each}}
</div> </div>
{{/if}} {{/if}}

View File

@@ -23,7 +23,7 @@ Template.characterSideList.helpers({
Template.characterSideList.events({ Template.characterSideList.events({
"tap .singleLineItem": function(event, instance) { "tap .singleLineItem": function(event, instance) {
Router.go("characterSheet", {_id: this._id}); //Router.go("characterSheet", {_id: this._id});
$("core-drawer-panel").get(0).closeDrawer(); $("core-drawer-panel").get(0).closeDrawer();
}, },
"tap core-item": function() { "tap core-item": function() {

View File

@@ -15,3 +15,11 @@
#navPanel { #navPanel {
padding: 16px; padding: 16px;
} }
.layout > core-header-panel {
height: 100%;
}
.layout > core-animated-pages {
height: 100%;
}

View File

@@ -1,5 +1,5 @@
<template name="layout"> <template name="layout">
<core-drawer-panel responsiveWidth="905px"> <core-drawer-panel class="layout" responsiveWidth="905px">
<core-header-panel drawer navigation flex mode="seamed" class="white"> <core-header-panel drawer navigation flex mode="seamed" class="white">
<div id="accountSummary"> <div id="accountSummary">
{{#if currentUser}} {{#if currentUser}}

View File

@@ -115,7 +115,7 @@ ChangeLogs.insert({
"Added encumbrance effects that automatically apply when carrying too much load", "Added encumbrance effects that automatically apply when carrying too much load",
"Added a bunch of UI elements to make your character's current load clear", "Added a bunch of UI elements to make your character's current load clear",
"Floating button menus now close as expected when you click a sub-button", "Floating button menus now close as expected when you click a sub-button",
"Base values in attribute summaries no longer look like added values" "Base values in attribute summaries no longer look like added values",
], ],
}); });
@@ -276,8 +276,6 @@ ChangeLogs.insert({
], ],
}); });
ChangeLogs.insert({ ChangeLogs.insert({
version: "0.8.0", version: "0.8.0",
changes: [ changes: [
@@ -294,3 +292,11 @@ ChangeLogs.insert({
"Added extra indexes to the database to improve performance", "Added extra indexes to the database to improve performance",
], ],
}); });
ChangeLogs.insert({
version: "0.9.1",
changes: [
"Fixed rendering issues in Chrome 49+",
"Made character names in the side-bar into regular links",
],
});