Build not build css correctly

I have a site and on serve the css is fine (from sass) but on build it’s not behaving right. It’s not bringing in the flex box attributes

Help

are you using baseurl and or site.url? when you say build is different, are you looking at the build results locally or on GH or somewhere else?

jekyll serve and jekyll build do treat some urls differently, jekyll serve prepends localhost to site.url:

looking at the build results locally hosting it on my server. On serve the sass includes all the files etc but on build it ignore the includes in the sass file??