Skip to content

Scala3doc: Add icons to symbols on page #11268

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

Merged
merged 2 commits into from
Feb 8, 2021
Merged

Conversation

pikinier20
Copy link
Contributor

No description provided.

@@ -613,6 +613,55 @@ footer .pull-right {
position: relative;
}

.header {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This adds a padding to lists of members as well

@romanowski
Copy link
Contributor

Can we also include icons in navigation? If so can we make a css classes more compact? Navigation is added to all pages so it should be as small as possible in terms of size

@pikinier20 pikinier20 force-pushed the scala3doc/symbol-icons branch from 8d14395 to 1518b38 Compare February 8, 2021 09:33
@@ -158,7 +167,7 @@ class HtmlRenderer(rootPackage: Member, val members: Map[DRI, Member])(using ctx
val attr = if expanded || isSelected then Seq(cls := "expanded") else Nil
(isSelected || expanded) -> div(attr)(
linkHtml(expanded),
span(),
span(cls := "ar"),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What ar name comes from? Maybe we would like to name it more meangingful?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

arrow. We will be adding tons of this to all pages so we want to keep it as short as possible

@romanowski romanowski merged commit c3e26df into master Feb 8, 2021
@romanowski romanowski deleted the scala3doc/symbol-icons branch February 8, 2021 11:47
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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

Successfully merging this pull request may close these issues.

4 participants