Skip to content

Fix project index file is no longer fluid despite fluid preference

What does this MR do?

This MR fixes a bug where the index file (README.md) of a project is not fluid, even though the user set the preference "Layout width" to Fluid.

As originally assumed in the issue here, the file preview (app/assets/javascripts/repository/components/preview/index.vue) didn't respect the fluid_layout setting

Related to #243557 (closed)

Screenshots (strongly suggested)

Layout width Before After
Fluid image image
Fixed (same) image image

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Kev

Merge request reports