Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@IgnatBeresnev
Copy link
Contributor

@IgnatBeresnev IgnatBeresnev commented Jul 20, 2022

Copy button itself and the script for it are still present for two scenarios:

  • Copying anchor links
  • Copying contents of code blocks. These are usually usage examples, so I think it could be useful

See #2576

@IgnatBeresnev IgnatBeresnev requested a review from vmishenev July 20, 2022 23:34
}
node.dci.kind in setOf(ContentKind.Symbol) -> div("symbol $additionalClasses") {
childrenCallback()
if (node.hasStyle(TextStyle.Monospace)) copyButton()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the only real change in this PR. The rest is either formatting or to make tests pass

@IgnatBeresnev IgnatBeresnev mentioned this pull request Jul 20, 2022
Copy link
Contributor

@vmishenev vmishenev left a comment

Choose a reason for hiding this comment

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

I suppose some styles, that are related to symbol, are redundant.

@IgnatBeresnev
Copy link
Contributor Author

Indeed, hopefully I got all of it

@IgnatBeresnev IgnatBeresnev requested a review from vmishenev July 26, 2022 12:51
@vmishenev
Copy link
Contributor

Indeed, hopefully I got all of it

And here

@IgnatBeresnev
Copy link
Contributor Author

And here

Are you sure you're looking at the right commit? Or maybe the link is wrong? See https://github.com/Kotlin/dokka/pull/2577/files#diff-316e3e9b3d50ff73dcc848844e5eaac72b2d38b7f1e84dca8a383a8b2c5a162c

@vmishenev
Copy link
Contributor

My fault, the link is wrong.

.symbol:hover .copy-popup-wrapper.active-popup,

@IgnatBeresnev
Copy link
Contributor Author

Jesus :) Yeah, removed

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.

3 participants