Skip to content

Commit

Permalink
Merge branch 'main' into update-version-241222
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao authored Jan 6, 2025
2 parents 016affb + 5b368b9 commit abfb872
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
steps:
- uses: "actions/checkout@v4"
with:
persist-credentials: false
submodules: "recursive"

- uses: "actions/setup-node@v4"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
steps:
- uses: "actions/checkout@v4"
with:
persist-credentials: false
submodules: "recursive"
- uses: "actions/setup-node@v4"
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
steps:
- uses: "actions/checkout@v4"
with:
persist-credentials: false
submodules: "recursive"
- uses: "actions/setup-node@v4"
with:
Expand Down
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
<link rel="preconnect" crossorigin href="https://fonts.gstatic.com">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:[email protected]&display=swap">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap">
</head>
<body>
<div id="root"></div>
Expand Down
3 changes: 3 additions & 0 deletions src/components/StatusBar/LogLevelSelect/LogLevelChip.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
.log-level-chip {
/* stylelint-disable-next-line custom-property-pattern */
--Chip-radius: 0;

font-family: var(--ylv-ui-mono-font-family), monospace !important;
font-weight: 600 !important;
}

.log-level-chip span {
Expand Down
3 changes: 1 addition & 2 deletions src/components/StatusBar/LogLevelSelect/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
}

.log-level-select-listbox {
/* Disallow width auto-resizing with the `Select` button. */
max-width: 0;
max-height: calc(100vh - var(--ylv-menu-bar-height) - var(--ylv-status-bar-height)) !important;
}

.log-level-select-option-text-tooltip {
Expand Down
7 changes: 7 additions & 0 deletions src/components/StatusBar/LogLevelSelect/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,13 @@ const LogLevelSelect = () => {
listbox: {
className: "log-level-select-listbox",
placement: "top-end",
modifiers: [
// Disallow listbox width auto-resizing with the `Select` button.
{name: "equalWidth", enabled: false},

// Remove gap between the listbox and the `Select` button.
{name: "offset", enabled: false},
],
},
}}
>
Expand Down
2 changes: 2 additions & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ html {
/* font-family globals */
--ylv-ui-font-family: -apple-system, "BlinkMacSystemFont", system-ui, "Ubuntu", "Droid Sans",
"Inter";
--ylv-ui-mono-font-family: "SF Mono", monaco, menlo, "Ubuntu Mono", "Liberation Mono",
"DejaVu Sans Mono", "Roboto Mono";

/* size globals */
--ylv-status-bar-height: 32px;
Expand Down

0 comments on commit abfb872

Please sign in to comment.