Skip to content

Commit

Permalink
work for #6560 Collapse Popup Survey button has incorrect icon and we…
Browse files Browse the repository at this point in the history
… need to add an optional close button - fix vue
  • Loading branch information
OlgaLarina committed Jul 21, 2023
1 parent 3174fd2 commit 8358fe6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/vue/popup-survey.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
:style="{maxWidth: surveyWindow.renderedWidth, width: surveyWindow.renderedWidth}"
:class="surveyWindow.cssRoot"
>
<div :class="surveyWindow.cssHeaderRoot" @click="doExpand">
<span style="width: 100%; cursor: pointer; user-select: none;">
<div :class="surveyWindow.cssHeaderRoot">
<span @click="doExpand" style="width: 100%; cursor: pointer; user-select: none;">
<span style="padding-right: 10px" :class="surveyWindow.cssHeaderTitle">
<survey-string :locString="windowSurvey.locTitle" />
</span>
Expand All @@ -15,13 +15,15 @@
<span
v-if="surveyWindow.allowClose"
:class="surveyWindow.cssHeaderButton"
@click="doHide"
style="transform: rotate(45deg); float: right; cursor: pointer; user-select: none; width: 24px; height: 24px;"
>
<sv-svg-icon :iconName="'icon-expanddetail'" :size="16"> </sv-svg-icon>
</span>
<span
v-if="isExpandedSurvey"
:class="surveyWindow.cssHeaderButton"
@click="doExpand"
style="float: right; cursor: pointer; user-select: none; width: 24px; height: 24px;"
>
<sv-svg-icon :iconName="'icon-collapsedetail'" :size="16"> </sv-svg-icon>
Expand Down

0 comments on commit 8358fe6

Please sign in to comment.