Skip to content

Commit 4fb0d47

Browse files
changes for ratings to support rtl theme
1 parent 03aeab8 commit 4fb0d47

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

frontend/express/public/themes/rtl/theme.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
.cly-vue-nps-preview .rating-labels .left { float: right !important; }
1010
.cly-vue-nps-preview .rating-labels .right { float: left !important; }
1111
.cly-vue-nps-preview .submit-wrapper .submit-button { float: left !important; }
12-
.cly-vue-nps-preview .submit-wrapper img { float: right !important; }
12+
.cly-vue-nps-preview .submit-wrapper img { float: right !important; }
13+
.cly-vue-ratings-preview { direction: rtl; }

plugins/star-rating/frontend/public/templates/drawer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
v-bind="$props.controls">
1515
<template v-slot:sidecars="drawerScope">
1616
<cly-content id="mainSidecar" role="sidecar" :always-active="true">
17-
<div class="ratings-drawer__sidecar widget-preview">
17+
<div class="ratings-drawer__sidecar widget-preview cly-vue-ratings-preview">
1818
<div class="preview-stage" v-if="drawerScope.currentStepId === 'step1' || drawerScope.currentStepId === 'step2' || drawerScope.currentStepId === 'step3'" >
1919
<div class="bu-is-size-7 ratings-drawer__stage-label">
2020
{{ i18n('feedback.ratings-popup') }}

plugins/star-rating/frontend/public/templates/feedback-popup.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<meta content="width=device-width, initial-scale=1" name="viewport">
1616
</meta>
1717
</head>
18-
<body class="ratings-popup">
18+
<body class="ratings-popup cly-vue-ratings-preview">
1919
<div class="rating-loader-wrapper">
2020
<img src="../../star-rating/images/star-rating/loader.svg" class="rating-loader"/>
2121
</div>

0 commit comments

Comments
 (0)