Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/admin-notification-select-chevron.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"nostream": patch
---

Fix the operator notifications target type dropdown so the select chevron renders once on the right instead of tiling across the field when `console-input` and `form-select` share the same control.
14 changes: 12 additions & 2 deletions resources/admin/assets/dashboard.css
Original file line number Diff line number Diff line change
Expand Up @@ -297,15 +297,15 @@
}

.admin-dashboard .console-input {
background: var(--bg);
background-color: var(--bg);
border: 1px solid var(--panel-border);
color: var(--text);
font-family: inherit;
font-size: 0.875rem;
}

.admin-dashboard .console-input:focus {
background: var(--bg);
background-color: var(--bg);
border-color: var(--accent);
box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 20%, transparent);
color: var(--text);
Expand Down Expand Up @@ -1564,6 +1564,16 @@

.admin-dashboard.console-theme .form-select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a8a8a8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right 0.75rem center;
background-size: 16px 12px;
padding-right: 2.25rem;
}

.admin-dashboard.console-theme select.console-input.form-select:focus {
background-repeat: no-repeat;
background-position: right 0.75rem center;
background-size: 16px 12px;
}

.admin-dashboard.console-theme .form-select option {
Expand Down
2 changes: 1 addition & 1 deletion resources/admin/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/jetbrains-mono@5.2.5/400.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fontsource/jetbrains-mono@5.2.5/600.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<link rel="stylesheet" href="{{path_prefix}}/admin/assets/dashboard.css?v=site-5">
<link rel="stylesheet" href="{{path_prefix}}/admin/assets/dashboard.css?v=site-6">
</head>
<body class="admin-dashboard console-theme" data-theme="dark" data-spark-host data-spark-mode="stream">
<canvas
Expand Down
Loading