Commit Graph
3 Commits
Author SHA1 Message Date
d67e9b9629 SVG Octicon fixes (#10237)
* SVG fixes

Signed-off-by: jolheiser <[email protected]>

* Colorize span->svg only

Signed-off-by: jolheiser <[email protected]>

* @silverwind suggestions

Signed-off-by: jolheiser <[email protected]>

* Alphabetical

Signed-off-by: jolheiser <[email protected]>

* Convert suburl and staticPrefix to window.config

Signed-off-by: jolheiser <[email protected]>

* De-structure

Signed-off-by: jolheiser <[email protected]>

Co-authored-by: Antoine GIRARD <[email protected]>
2020-02-11 20:53:18 -05:00
7d8a2d05cf Allow emoji on popup label (#10166)
* allow emoji on popup label

* Make emojify work

* Remove unnecessary class

Co-Authored-By: silverwind <[email protected]>

Co-authored-by: silverwind <[email protected]>
2020-02-08 12:48:17 +01:00
7d7ab1eeae Issue/PR Context Popups (#9822)
* Add data-index attribute to issue anchors

Signed-off-by: jolheiser <[email protected]>

* Init JS

Signed-off-by: jolheiser <[email protected]>

* Add required data to anchor

Signed-off-by: jolheiser <[email protected]>

* Finish popup

Signed-off-by: jolheiser <[email protected]>

* Revert changes to html.go

Signed-off-by: jolheiser <[email protected]>

* Better octicon contexts

Signed-off-by: jolheiser <[email protected]>

* Split out popup function for re-use

Signed-off-by: jolheiser <[email protected]>

* Style changes, test fixes, and cross-reference support

Signed-off-by: jolheiser <[email protected]>

* Prefer em to px

Signed-off-by: jolheiser <[email protected]>

* Move label margin to base CSS

Signed-off-by: jolheiser <[email protected]>

* Move JS to separate file.

Signed-off-by: jolheiser <[email protected]>

* Move JS to features and fix module

Signed-off-by: jolheiser <[email protected]>

* Remove query-string and hash

Co-Authored-By: silverwind <[email protected]>

Co-authored-by: Lauris BH <[email protected]>
Co-authored-by: Antoine GIRARD <[email protected]>
Co-authored-by: silverwind <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: zeripath <[email protected]>
2020-01-19 23:39:21 -05:00