branch feature/253-tuiles updated (bcd73581 -> b6d1a441)
This is an automated email from the git hooks/post-receive script. New change to branch feature/253-tuiles in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from bcd73581 PollCardReboot integration in Polls screen new 176c389b Ajout de cas de tests new b6d1a441 Force les avatars à 30px The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit b6d1a441de5677d3484ee72d73bbc763da6f2559 Author: jcouteau <couteau@codelutin.com> Date: Thu Jan 16 16:18:51 2020 +0100 Force les avatars à 30px commit 176c389b66c1e1e3d1d3b948fe59e06b59ec5c71 Author: jcouteau <couteau@codelutin.com> Date: Thu Jan 16 16:18:19 2020 +0100 Ajout de cas de tests Summary of changes: .../src/main/web/tag/components/Avatar.tag.html | 4 ++-- .../main/web/tag/components/LetterAvatar.tag.html | 4 ++-- pollen-ui-riot-js/stories/Card.stories.js | 23 ++++++++++++++++++++++ 3 files changed, 27 insertions(+), 4 deletions(-) -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/253-tuiles in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 176c389b66c1e1e3d1d3b948fe59e06b59ec5c71 Author: jcouteau <couteau@codelutin.com> Date: Thu Jan 16 16:18:19 2020 +0100 Ajout de cas de tests --- pollen-ui-riot-js/stories/Card.stories.js | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/pollen-ui-riot-js/stories/Card.stories.js b/pollen-ui-riot-js/stories/Card.stories.js index e662b8f5..33703704 100644 --- a/pollen-ui-riot-js/stories/Card.stories.js +++ b/pollen-ui-riot-js/stories/Card.stories.js @@ -22,6 +22,19 @@ const startedPoll = {title: "Poll title", status: "VOTING", votes: 12}; +const noDescPoll = {title: "Poll title", + startDate: new Date("December 25, 1995"), + endDate: new Date("December 25, 2100"), + status: "VOTING", + votes: 12}; + +const emptyDescPoll = {title: "Poll title", + description: "", + startDate: new Date("December 25, 1995"), + endDate: new Date("December 25, 2100"), + status: "VOTING", + votes: 12}; + const startedPollNoEnd = {title: "Poll title", description: "Lorem ipsum description", startDate: new Date("December 25, 1995"), @@ -183,3 +196,13 @@ export const pollReal = () => { riot.mixin(i18nHelper); return mount("pollcardreboot", {poll: realPoll}); }; +export const pollNoDescription = () => { + riot.mixin(uiHelper); + riot.mixin(i18nHelper); + return mount("pollcardreboot", {poll: noDescPoll}); +}; +export const pollEmptyDescription = () => { + riot.mixin(uiHelper); + riot.mixin(i18nHelper); + return mount("pollcardreboot", {poll: emptyDescPoll}); +}; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/253-tuiles in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit b6d1a441de5677d3484ee72d73bbc763da6f2559 Author: jcouteau <couteau@codelutin.com> Date: Thu Jan 16 16:18:51 2020 +0100 Force les avatars à 30px --- pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html | 4 ++-- pollen-ui-riot-js/src/main/web/tag/components/LetterAvatar.tag.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html b/pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html index 4baaa4f3..3cf34d15 100644 --- a/pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/components/Avatar.tag.html @@ -41,8 +41,8 @@ import "./LetterAvatar.tag.html"; <style> .avatar-avatar { - width: 100%; - height: 100%; + width: 30px; + height: 30px; } .avatar-avatar.rounded { diff --git a/pollen-ui-riot-js/src/main/web/tag/components/LetterAvatar.tag.html b/pollen-ui-riot-js/src/main/web/tag/components/LetterAvatar.tag.html index 046b59af..7c875c9f 100644 --- a/pollen-ui-riot-js/src/main/web/tag/components/LetterAvatar.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/components/LetterAvatar.tag.html @@ -56,8 +56,8 @@ <style> .svg { - width: 2em; - height: 2em; + width: 30px; + height: 30px; border-radius: 0; } -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm