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

[Bug] Template modern #10411

Open
JM2K69 opened this issue Nov 20, 2024 · 1 comment
Open

[Bug] Template modern #10411

JM2K69 opened this issue Nov 20, 2024 · 1 comment
Labels
bug A bug to fix

Comments

@JM2K69
Copy link
Contributor

JM2K69 commented Nov 20, 2024

Describe the bug
The disposition change in the web page.

Build with 2.77.0 docfx
Image

Same site with 2.78.1
Image

@JM2K69 JM2K69 added the bug A bug to fix label Nov 20, 2024
@filzrev
Copy link
Contributor

filzrev commented Nov 20, 2024

I'm also confirmed. It can reproduce problems with project that is created by docfx init --yes command.

It seems docfx.scss override setting is not applied on v2.78.1.
And bootstrap default styles are used.

1.Excerpt of docfx.min.css(docfx 2.77.0)
max-width value is overridden to 1768px

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1768px
    }
}

2.Excerpt of docfx.min.css(docfx 2.78.1)
Bootstrap 5.3.3 default setting is used.

@media (min-width: 576px) {
    .container-sm, .container {
        max-width: 540px
    }
}

@media (min-width: 768px) {
    .container-md, .container-sm, .container {
        max-width: 720px
    }
}

@media (min-width: 992px) {
    .container-lg, .container-md, .container-sm, .container {
        max-width: 960px
    }
}

@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1140px
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug to fix
Projects
None yet
Development

No branches or pull requests

2 participants