prime blocks blocks are not reactive
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 560
- Joined: 23 Oct 2020, 09:28
Could you look at this demo? https://codesandbox.io/s/naughty-cerf-k ... rdDemo.vue. It seems to me working correctly.
-
- Posts: 10
- Joined: 28 Jul 2022, 22:25
https://codesandbox.io/s/determined-far ... rdDemo.vue
shouldn't this turn red when small?
shouldn't this turn red when small?
-
- Posts: 10
- Joined: 28 Jul 2022, 22:25
Also in your example, it makes the letters lg when small and 5xl when big
-
- Posts: 560
- Joined: 23 Oct 2020, 09:28
Unfortunately responsive font color classes are not supported yet.
You are using two classes at the same time: 'text-lg' and 'text-5xl'. Which one do you want to use? I suggest 'text-lg md:text-5xl'
You are using two classes at the same time: 'text-lg' and 'text-5xl'. Which one do you want to use? I suggest 'text-lg md:text-5xl'
-
- Posts: 10
- Joined: 28 Jul 2022, 22:25
here in your example 'text-lg sm:text-5xl' isn't it supposed to be making the letters bigger (5xl) when the screen is small?
it's doing the reverse.
oh ok I was just trying to use the colours as an example. my problem is not his I just had this question now after seeing your example. The problem here is that using your primeBlocks templates don't resize correctly when the code is pasted in a vue file even without making any changes.
it's doing the reverse.
oh ok I was just trying to use the colours as an example. my problem is not his I just had this question now after seeing your example. The problem here is that using your primeBlocks templates don't resize correctly when the code is pasted in a vue file even without making any changes.
-
- Posts: 560
- Joined: 23 Oct 2020, 09:28
Codesandbox example is working correctly. Please check the responsive example https://www.primefaces.org/primeflex/fontsize
-
- Posts: 10
- Joined: 28 Jul 2022, 22:25
yes understand now the screen sizes are @media for different sizes so its the default unless certain screen size.
thanks.
thanks.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 3 guests