Skip to content

[Scaladoc] blockquotes have no styling #17421

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

Closed
bishabosha opened this issue May 5, 2023 · 1 comment
Closed

[Scaladoc] blockquotes have no styling #17421

bishabosha opened this issue May 5, 2023 · 1 comment

Comments

@bishabosha
Copy link
Member

bishabosha commented May 5, 2023

Minimized example

from https://docs.scala-lang.org/scala3/reference/contextual/derivation.html#
Screenshot 2023-05-05 at 12 03 07

In the above screenshot, blockquotes only change the indentation of text, I would expect perhaps a muted color, and possibly also a background/border of some sort

@bishabosha bishabosha added stat:needs triage Every issue needs to have an "area" and "itype" label area:documentation area:doctool itype:enhancement and removed stat:needs triage Every issue needs to have an "area" and "itype" label area:documentation labels May 5, 2023
@bishabosha
Copy link
Member Author

bishabosha commented May 5, 2023

Actually I inspected the element in safari developer tools, and It appears they have no styling except the browser default.

This one seems to be good to try out:

/* content blockquote */
#content blockquote {
  color: var(--text-secondary);
  border-left: 4px solid var(--border-default);
  padding: 0 calc(2 * var(--base-spacing));
  margin-inline-start: calc(2 * var(--base-spacing));
  margin-inline-end: calc(2 * var(--base-spacing));
}

what it looks like:

Screenshot 2023-05-05 at 12 32 05

@bishabosha bishabosha changed the title [Scaladoc] blockquotes only change indentation [Scaladoc] blockquotes have no styling May 5, 2023
Dedelweiss added a commit to Dedelweiss/dotty that referenced this issue May 8, 2023
G1ng3r pushed a commit to G1ng3r/dotty that referenced this issue Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant