kubernetes / website

Kubernetes website and documentation repo:

Home Page:https://kubernetes.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Notes that begin with a bullet appear malformed

spurin opened this issue · comments

This is a Bug Report

Problem:

Using https://kubernetes.io/docs/concepts/policy/resource-quotas as an example, Note blocks that start with a bullet appear malformed, same outcome in both Chrome and Safari, note the dot over the e characters and incorrect indentation -

image

Proposed Solution:

Let's discuss further, possibly, maybe this can be fixed via hugo, otherwise we could investigate an update to all affected pages.

Page to Update:

We should update all notes that meet this criteria, investigate after a proposed solution is agreed.

/area web-development

It seems that our recent update to align with Docsy-style callouts in #46232 may have unintentionally caused this issue. There's definitely room for improvement here, and we should address this to ensure the content is displayed properly.

/priority backlog
/triage accepted

Oops. I think we can address this with a CSS fix; for example, not making the “note” text an inline block when the parent <div> contains either <ul> or <ol> (using :not and :has selectors).


For a simple fix, make the “Note:” text never be an inline block.

i would like to try

/assign