Przeglądaj źródła

Fixes feedback message and button active state

master
yanas 9 lat temu
rodzic
commit
08b2fbe30f

+ 2
- 0
css/modals/_dialog.scss Wyświetl plik

31
         font-size: 12px;
31
         font-size: 12px;
32
         padding: 3px 6px 3px 6px;
32
         padding: 3px 6px 3px 6px;
33
         border: none;
33
         border: none;
34
+        box-shadow: none;
35
+        outline: none;
34
 
36
 
35
         &_close {
37
         &_close {
36
             font-weight: 400 !important;
38
             font-weight: 400 !important;

+ 1
- 5
modules/UI/feedback/FeedbackWindow.js Wyświetl plik

26
 let createRateFeedbackHTML = function (Feedback) {
26
 let createRateFeedbackHTML = function (Feedback) {
27
     let rateExperience
27
     let rateExperience
28
             = APP.translation.translateString('dialog.rateExperience'),
28
             = APP.translation.translateString('dialog.rateExperience'),
29
-        feedbackHelp = APP.translation.translateString('dialog.feedbackHelp'),
30
-        feedbackQuestion = (Feedback.feedbackScore < 0)
31
-        ? `<p><br/>${APP.translation.translateString('dialog.feedbackQuestion')}</p>`
32
-        : '';
29
+        feedbackHelp = APP.translation.translateString('dialog.feedbackHelp');
33
 
30
 
34
     let starClassName = (interfaceConfig.ENABLE_FEEDBACK_ANIMATION)
31
     let starClassName = (interfaceConfig.ENABLE_FEEDBACK_ANIMATION)
35
                             ? "icon-star shake-rotate"
32
                             ? "icon-star shake-rotate"
37
 
34
 
38
     return `
35
     return `
39
         <div class="aui-dialog2-content feedback__content">
36
         <div class="aui-dialog2-content feedback__content">
40
-            ${feedbackQuestion}
41
             <form action="javascript:false;" onsubmit="return false;">
37
             <form action="javascript:false;" onsubmit="return false;">
42
                 <div class="feedback__rating">
38
                 <div class="feedback__rating">
43
                     <h2>${ rateExperience }</h2>
39
                     <h2>${ rateExperience }</h2>

Ładowanie…
Anuluj
Zapisz