Positional Styles on content items outputted with a comma
Hey,
It's probably related to the culture (using Dutch atm) but the Positional Styles on content items are outputted with a comma instead of a dot (causing invalid css and items not positioned as they need to be). I added a workaround with a string replace for the time being but would be ace if it could be fixed in the core package
Thanks for the info, I understand now, I think you're right it is a culture issue. I think I've fixed but I can't test here easily. Can you check and then I'll release.
I had a look last night and managed to replicate the issue locally, I could get to the bottom and see what was happening. Thanks for your fix Tim, it worked really well.
Here's a version for you to test, let me know if it works for you and then I'll release.
Positional Styles on content items outputted with a comma
Hey,
It's probably related to the culture (using Dutch atm) but the Positional Styles on content items are outputted with a comma instead of a dot (causing invalid css and items not positioned as they need to be). I added a workaround with a string replace for the time being but would be ace if it could be fixed in the core package
Great package btw!
Could you give me an example CSS fragment, is it from the breakpoint name?
Sure it's on
Hey
Thanks for the info, I understand now, I think you're right it is a culture issue. I think I've fixed but I can't test here easily. Can you check and then I'll release.
new release
Phil
thanks I'll give it a test
Hi Phil,
I have the same problem and it does not appear to have been fixed in version 1.0.1
Doing some hack at the moment to fix it but would love to see it fixed in later versions .
Great package by the way!
Is the source available otherwise I can add a fix, did the same for an old package, think you need to look in to https://github.com/TimGeyssens/LocatorRazorStyle/blob/master/GeoCodingTest/Utility.cs and then use it like .ToString(Utility.NumberFormatInfo)
that makes sure it always uses a dot instead of a comma
I had a look last night and managed to replicate the issue locally, I could get to the bottom and see what was happening. Thanks for your fix Tim, it worked really well.
Here's a version for you to test, let me know if it works for you and then I'll release.
Test release
Awesome, I'll give it a test shortly!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.