Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix pricing

kruzhambus08692479792e
diff --git a/src/pages/MainPage/Pricing.jsx b/src/pages/MainPage/Pricing.jsx
index f497f9cbd..05fa35f86 100644
--- a/src/pages/MainPage/Pricing.jsx
+++ b/src/pages/MainPage/Pricing.jsx
@@ -189,11 +189,11 @@ const Pricing = ({ t, language }) => {
</p>
</>
)}
- <div className='relative self-center mt-6 bg-gray-100 dark:bg-gray-700 rounded-lg p-0.5 flex sm:mt-8'>
+ <div className='relative self-center mt-6 bg-gray-100 dark:bg-gray-700 rounded-lg p-0.5 flex sm:mt-8 small:flex-row flex-col'>
<button
type='button'
onClick={() => setBillingFrequency(BillingFrequency.monthly)}
- className={cx('relative w-1/2 rounded-md shadow-sm py-2 text-sm font-medium whitespace-nowrap sm:w-auto sm:px-8', {
+ className={cx('relative small:w-1/2 rounded-md shadow-sm py-2 text-sm font-medium whitespace-nowrap sm:w-auto sm:px-8', {
'bg-white border-gray-200 text-gray-900 dark:bg-gray-800 dark:border-gray-800 dark:text-gray-50': billingFrequency === BillingFrequency.monthly,
'text-gray-700 dark:text-gray-100': billingFrequency === BillingFrequency.yearly,
})}
@@ -203,7 +203,7 @@ const Pricing = ({ t, language }) => {
<button
type='button'
onClick={() => setBillingFrequency(BillingFrequency.yearly)}
- className={cx('ml-0.5 relative w-1/2 border border-transparent rounded-md py-2 text-sm font-medium whitespace-nowrap sm:w-auto sm:px-8', {
+ className={cx('ml-0.5 relative small:w-1/2 border border-transparent rounded-md py-2 text-sm font-medium whitespace-nowrap sm:w-auto sm:px-8', {
'text-gray-700 dark:text-gray-100': billingFrequency === BillingFrequency.monthly,
'bg-white border-gray-200 text-gray-900 dark:bg-gray-800 dark:border-gray-800 dark:text-gray-50': billingFrequency === BillingFrequency.yearly,
})}
diff --git a/tailwind.config.js b/tailwind.config.js
index 3155560ed..897bc1474 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -4,6 +4,9 @@ module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}', './public/index.html'],
darkMode: 'class', // or 'media' or 'class'
theme: {
+ screens: {
+ 'small': '370px',
+ },
extend: {
colors: {
gray: {