diff --git a/src/widgets/Footer/Footer.styles.scss b/src/widgets/Footer/Footer.styles.scss index 1b2d53a..8059fed 100644 --- a/src/widgets/Footer/Footer.styles.scss +++ b/src/widgets/Footer/Footer.styles.scss @@ -180,19 +180,21 @@ .footer-links { display: flex; justify-content: space-between; - gap: 30px; // Между столбиками будет отступ - + gap: 30px; + .footer-column { display: flex; flex-direction: column; gap: 20px; - + a { color: white; text-decoration: none; font-size: 16px; position: relative; - + display: inline-block; + width: fit-content; + &::after { content: ''; position: absolute; @@ -204,15 +206,13 @@ transition: width 0.3s ease, left 0.3s ease; transform: translateX(-50%); } - + &:hover::after { - width: calc(100% + 8px); + width: 100%; left: 50%; - transform: translateX(-50%); } } } - } .privacy-policy { diff --git a/vite.config.ts b/vite.config.ts index 6a4ab17..3e9bd1e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,7 +3,7 @@ import react from "@vitejs/plugin-react"; import path from "path"; export default defineConfig({ - // base: "/wp-content/reactpress/apps/skb/dist/index.html", + base: '/wp-content/reactpress/apps/skb/dist/', plugins: [react()], resolve: { alias: {