mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-22 18:18:45 -06:00
fix: styles get overwritten by loading indicator changes (#3012)
This commit is contained in:
@@ -4,22 +4,4 @@ const base = require("../../packages/config-tailwind/tailwind.config");
|
||||
module.exports = {
|
||||
...base,
|
||||
content: [...base.content],
|
||||
theme: {
|
||||
extend: {
|
||||
keyframes: {
|
||||
surveyLoadingAnimation: {
|
||||
"0%": { transform: "translateY(50px)", opacity: "0" },
|
||||
"100%": { transform: "translateY(0)", opacity: "1" },
|
||||
},
|
||||
surveyExitAnimation: {
|
||||
"0%": { transform: "translateY(0)", opacity: "1" },
|
||||
"100%": { transform: "translateY(-50px)", opacity: "0" },
|
||||
},
|
||||
},
|
||||
animation: {
|
||||
surveyLoading: "surveyLoadingAnimation 0.5s ease-out forwards",
|
||||
surveyExit: "surveyExitAnimation 0.5s ease-out forwards",
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -15,6 +15,8 @@ module.exports = {
|
||||
"accordion-up": "accordion-up 0.2s ease-out",
|
||||
fadeIn: "fadeIn 0.2s ease-out",
|
||||
fadeOut: "fadeOut 0.2s ease-out",
|
||||
surveyLoading: "surveyLoadingAnimation 0.5s ease-out forwards",
|
||||
surveyExit: "surveyExitAnimation 0.5s ease-out forwards",
|
||||
},
|
||||
blur: {
|
||||
xxs: "0.33px",
|
||||
@@ -87,6 +89,14 @@ module.exports = {
|
||||
from: { height: "var(--radix-accordion-content-height)" },
|
||||
to: { height: 0 },
|
||||
},
|
||||
surveyLoadingAnimation: {
|
||||
"0%": { transform: "translateY(50px)", opacity: "0" },
|
||||
"100%": { transform: "translateY(0)", opacity: "1" },
|
||||
},
|
||||
surveyExitAnimation: {
|
||||
"0%": { transform: "translateY(0)", opacity: "1" },
|
||||
"100%": { transform: "translateY(-50px)", opacity: "0" },
|
||||
},
|
||||
},
|
||||
width: {
|
||||
"sidebar-expanded": "4rem",
|
||||
|
||||
Reference in New Issue
Block a user