Skip to content

Commit

Permalink
fix: keep sources tab visible when scrolling
Browse files Browse the repository at this point in the history
Close #93
  • Loading branch information
javier-godoy authored and mlopezFC committed Jun 25, 2024
1 parent f976989 commit e9a1204
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public SourceCodeViewer(String sourceUrl, Map<String, String> properties) {
public SourceCodeViewer(String url, String language, Map<String, String> properties) {
codeViewer = new Element("code-viewer");
getElement().appendChild(codeViewer);
getElement().getStyle().set("overflow", "auto");
getElement().getStyle().set("display", "flex");
codeViewer.getStyle().set("flex-grow", "1");
setProperties(properties);
Expand Down

0 comments on commit e9a1204

Please sign in to comment.