Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix published CSS #7

Open
andrewralon opened this issue Jan 23, 2018 · 0 comments
Open

Fix published CSS #7

andrewralon opened this issue Jan 23, 2018 · 0 comments

Comments

@andrewralon
Copy link
Owner

As a dev, I'd like Landie's work on the UI to get published with everything else so I don't go blind from staring at a huge non-centered banner and a vacuum of CSS.

The small, sexy, centered banner in a row of black isn't getting published that way.

HINT: This part in _Layout.cshtml looks pretty suspect....
<environment include="Development"> <link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" /> <link rel="stylesheet" href="~/css/site.css" /> </environment> <environment exclude="Development"> <link rel="stylesheet" href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/css/bootstrap.min.css" asp-fallback-href="~/lib/bootstrap/dist/css/bootstrap.min.css" asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" /> <link rel="stylesheet" href="~/css/site.min.css" asp-append-version="true" /> </environment>

AC

Homepage looks the same published as when debugging locally (see below)

  • Compare debugging in VS (correct)
    image
  • to the published version on EC2 (blech)
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant