branch ramonville updated (302399a3 -> 9767463a)
This is an automated email from the git hooks/post-receive script. New change to branch ramonville in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git from 302399a3 - Improve UX on vote for mobile - Make Pollen more responsive... new 9767463a Improve modal displyaing on image vote The 1 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 9767463a7ab87482c8ffec3503c0fb39adf0eb45 Author: jcouteau <couteau@codelutin.com> Date: Thu Dec 20 12:09:04 2018 +0100 Improve modal displyaing on image vote Summary of changes: pollen-ui-riot-js/src/main/web/css/main.css | 7 ++++++- pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html | 6 +++++- 2 files changed, 11 insertions(+), 2 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 ramonville in repository pollen. See https://gitlab.nuiton.org/chorem/pollen.git commit 9767463a7ab87482c8ffec3503c0fb39adf0eb45 Author: jcouteau <couteau@codelutin.com> Date: Thu Dec 20 12:09:04 2018 +0100 Improve modal displyaing on image vote --- pollen-ui-riot-js/src/main/web/css/main.css | 7 ++++++- pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/pollen-ui-riot-js/src/main/web/css/main.css b/pollen-ui-riot-js/src/main/web/css/main.css index 8ebe18af..bd5dba29 100644 --- a/pollen-ui-riot-js/src/main/web/css/main.css +++ b/pollen-ui-riot-js/src/main/web/css/main.css @@ -242,7 +242,8 @@ ul { } .info-label { - font-size: 0.8em; + font-size: 1em; + margin-left:5px; color: #10b8ca; cursor: pointer; } @@ -330,6 +331,10 @@ ul { display: block; flex-grow: 1; } + + modal .modal { + max-width: 300px; + } } time-picker .next, diff --git a/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html b/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html index 02dd2f73..be1b1f1b 100644 --- a/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html +++ b/pollen-ui-riot-js/src/main/web/tag/poll/ChoiceView.tag.html @@ -36,7 +36,7 @@ import "../components/MultiLineLabel.tag.html"; if={opts.choice.choiceType === "DATETIME"}> {formatDate(parseInt(opts.choice.choiceValue, 10), "L LT")} </span> - <div class="choice-ressource" + <div class="choice-ressource" onclick="{openModalImage}" if={opts.choice.choiceType === "RESOURCE" && meta && isImage()}> <img class="image-preview" src="{resourceService.getPreviewUrl(opts.choice.choiceValue)}" alt="{opts.choice.description}" title="{opts.choice.description}"/> @@ -146,6 +146,10 @@ import "../components/MultiLineLabel.tag.html"; max-height: 3em; pointer-events: none; } + + .choice-ressource{ + cursor: pointer; + } .modal-image { font-size: 1rem; -- To stop receiving notification emails like this one, please contact chorem.org SCM administrator <admin+scm@chorem.org>.
participants (1)
-
chorem.org scm