fix: input color issue on rating questio (#2641)

This commit is contained in:
Dhruwang Jariwala
2024-05-17 12:20:54 +05:30
committed by GitHub
parent fd78cec5ac
commit 084307bdb2
3 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ export const Headline = ({
{headline}
{!required && (
<span
className="text-heading ml-2 self-start text-sm font-normal leading-7 opacity-60"
className="text-heading mx-2 self-start text-sm font-normal leading-7 opacity-60"
tabIndex={-1}>
Optional
</span>

View File

@@ -4,13 +4,13 @@ interface SurveyCloseButtonProps {
export const SurveyCloseButton = ({ onClose }: SurveyCloseButtonProps) => {
return (
<div class="absolute right-0 top-0 z-[1001] block pr-1 pt-1">
<div class="absolute right-2 top-2 z-[1001] block pr-1 pt-1">
<button
type="button"
onClick={onClose}
class="text-close-button hover:text-close-button-focus focus:ring-close-button-focus relative h-4 w-4 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2">
<svg
class="h-3 w-3"
class="h-4 w-4"
fill="none"
viewBox="0 0 24 24"
strokeWidth="2"

View File

@@ -82,7 +82,7 @@ p.fb-editor-paragraph {
--fb-accent-background-color: var(--slate-200);
--fb-accent-background-color-selected: var(--slate-100);
--fb-input-background-color: var(--slate-50);
--fb-input-background-color-selected: var(--slate-100);
--fb-input-background-color-selected: var(--slate-200);
--fb-placeholder-color: var(--slate-400);
--fb-shadow-color: var(--slate-300);
--fb-rating-fill: var(--yellow-300);