Press Ctrl / CMD + C to copy this to your clipboard.
Copied to clipboard
Flag this post as spam?
This post will be reported to the moderators as potential spam to be looked at
Topic author was deleted
Sep 10, 2018 @ 09:56
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.
Topic author was deleted
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?
Comment author was deleted
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
Comment author was deleted
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!
Comment author was deleted
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)
Comment author was deleted
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
Comment author was deleted
Awesome, I'll give it a test shortly!
is working on a reply...