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

Closed
JM2K69 opened this issue Nov 20, 2024 · 4 comments
Closed

[Bug] Template modern #10411

JM2K69 opened this issue Nov 20, 2024 · 4 comments

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 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
    }
}

@filzrev
Copy link
Contributor

filzrev commented Nov 27, 2024

@JM2K69
Is it able to confirm that the reported issue is fixed with latest docfx version?

@JM2K69
Copy link
Contributor Author

JM2K69 commented Nov 27, 2024

I will check @filzrev look this issue #10414 search may problem with pdf top.

@JM2K69
Copy link
Contributor Author

JM2K69 commented Nov 27, 2024

It work's on 2.78.2. I close the issue.

@JM2K69 JM2K69 closed this as completed Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants