Skip to content

Commit

Permalink
🧪 labsite: Fix link and mobile layout issues (#438)
Browse files Browse the repository at this point in the history
Fix link and mobile layout issues and lab.evy.dev. The link to the playground
was incorrect in the sidebar (/playground rather than /play), now fixed.

Additionally shared links on mobile didn't work, the output display didn't show.
CSS tweaked for this too.

This merges the following commits:
* labsite: Fix link to playground
* labsite: Fix lab share links for mobile

     frontend/lab/css/overrides.css | 2 +-
     frontend/lab/index.html        | 2 +-
     2 files changed, 2 insertions(+), 2 deletions(-)

Pull-request: #438
  • Loading branch information
juliaogris committed Sep 16, 2024
2 parents ebafc1e + 8f96d46 commit 280d82b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/lab/css/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ a.youtube {
}
}
/* 1 column layout */
.main:has(.notes.hidden, .editorWrap.hidden) {
.main:has(> .notes.hidden):has(> .editor-wrap.hidden) {
&.view-output {
translate: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/lab/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ <h1>👋 Welcome!</h1>
</header>
<ul>
<li><button id="sidebar-about">About Evy</button></li>
<li><a href="/playground" target="_blank">Playground</a></li>
<li><a href="/play" target="_blank">Playground</a></li>
<li><a href="/docs" target="_blank">Docs</a></li>
<li><a href="/discord" target="_blank">Discord</a></li>
<li><a href="/gallery" target="_blank">Gallery</a></li>
Expand Down

0 comments on commit 280d82b

Please sign in to comment.