Examples: Syntax highlighting for React (#1583)

* Docs: Syntax highlighting - add react example

* Docs: Clean up syntax highlighting demo, make use of functional component

* fix: focus view asynchronously, fix #1520

Co-authored-by: Sven Adlung <info@svenadlung.de>
Co-authored-by: Philipp Kühn <kontakt@philipp-kuehn.com>
This commit is contained in:
Hans Pagel
2021-07-28 23:42:11 +02:00
committed by GitHub
parent e76f7966b5
commit 47d1d3425c
8 changed files with 188 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
.code-block {
position: relative;
select {
position: absolute;
right: 0.5rem;
top: 0.5rem;
}
}