Skip to content

Commit

Permalink
Fix example CSS (#2475)
Browse files Browse the repository at this point in the history
<!--
Open the PR up as a draft until you feel it is ready for a proper
review.

Do not make PR:s from your own `main` branch, as that makes it difficult
for reviewers to add their own fixes.

Add any improvements to the branch as new commits to make it easier for
reviewers to follow the progress. All commits will be squashed to a
single commit once the PR is merged into `main`.

Make sure you mention any issues that this PR closes in the description,
as well as any other related issues.

To get an auto-generated PR description you can put "copilot:summary" or
"copilot:walkthrough" anywhere.
-->

### What

- Examples dropdown items no longer wrap
- "Rerun is not yet supported on mobile browsers" text is no longer
squashed

### Checklist
* [ ] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [ ] I've included a screenshot or gif (if applicable)

<!-- This line will get updated when the PR build summary job finishes.
-->
PR Build Summary: https://build.rerun.io/pr/2475

<!-- pr-link-docs:start -->
Docs preview: https://rerun.io/preview/643efcb/docs
Examples preview: https://rerun.io/preview/643efcb/examples
<!-- pr-link-docs:end -->
  • Loading branch information
jprochazk authored Jun 19, 2023
1 parent 4b18c4b commit 0620a9b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions scripts/demo_assets/static/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ p {
color: #cad8de;
letter-spacing: -0.15px;
font-weight: 500;
line-height: 14px;
}

/* Rerun styling for strong text. Matches `TextStyle::Heading`. */
Expand Down Expand Up @@ -255,8 +254,6 @@ img.icon {
padding: 6px;

user-select: none;

width: 92px;
}

.dropdown-body.visible {
Expand All @@ -270,6 +267,8 @@ img.icon {
font-size: 13px;
display: flex;
justify-content: space-between;
white-space: nowrap;
overflow: hidden;
}

.dropdown-entry:hover {
Expand Down
1 change: 0 additions & 1 deletion web_viewer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
letter-spacing: -0.15px;
font-family: 'Inter', sans-serif;
font-weight: 500;
line-height: 14px;
}

/* Rerun styling for strong text. Matches `TextStyle::Heading`. */
Expand Down
1 change: 0 additions & 1 deletion web_viewer/index_bundled.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
letter-spacing: -0.15px;
font-family: 'Inter', sans-serif;
font-weight: 500;
line-height: 14px;
}

/* Rerun styling for strong text. Matches `TextStyle::Heading`. */
Expand Down

0 comments on commit 0620a9b

Please sign in to comment.