Coder Social home page Coder Social logo

Comments (8)

chipzoller avatar chipzoller commented on July 30, 2024 1

Yes, we can. We have some working code for this and more related to the policy section.

from website.

chipzoller avatar chipzoller commented on July 30, 2024 1

Yes, this is planned.

from website.

chipzoller avatar chipzoller commented on July 30, 2024

This is something I tackled in the theme I helped build. Full width would only work if all code blocks control line lengths, which isn't guaranteed. What would be better is an optional wrap lines button (or auto-function) which takes care of that.

As far as the side panel is concerned, maybe just my opinion but if this solution is only temporary, then I don't know I'd spend a whole lot of cycles trying to remove it.

from website.

RinkiyaKeDad avatar RinkiyaKeDad commented on July 30, 2024

Can we even modify the original theme? I tried changing some of the CSS in the docsy files and received an error due to which the Hugo server didn't work. I'll try asking more about it on the docsy repo.

from website.

RinkiyaKeDad avatar RinkiyaKeDad commented on July 30, 2024

Hey @JimBugwadia - I found out where the CSS for this fix was. Changing max-width to 100% (or 90% if some padding is still needed) in this file would fix this.
full-width
Two things though:

  1. As shown in the above image, for some code blocks a horizontal scroll will still be needed.
  2. Currently the themes/docsy folder is not present in our repository and is being pulled from google/docsy so we would need to have the docsy files actually present in our repository to edit the CSS, right?

from website.

RinkiyaKeDad avatar RinkiyaKeDad commented on July 30, 2024

Hey @chipzoller! Do you plan to include this as part of the filters feature you showed in the UI? If not should I raise a PR?

from website.

chipzoller avatar chipzoller commented on July 30, 2024

@RinkiyaKeDad The new filter feature was just merged, however we didn't include this enhancement (honestly forgot).

from website.

chipzoller avatar chipzoller commented on July 30, 2024

Closing since this was implemented in kyverno.io/policies a while back (thank you, @onweru)

from website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.