Skip to content

Commit c3a7582

Browse files
committed
- Make styles for tabs consistent
- Adjust margin of card component - Recordings: add padding for labels and notes on small screens - Recordings: tweak style of text when there are no tags
1 parent ffa9a57 commit c3a7582

File tree

5 files changed

+17
-11
lines changed

5 files changed

+17
-11
lines changed

browse-next/src/assets/less/bootstrap-custom.less

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,13 +205,19 @@ hr {
205205

206206
.nav-underline {
207207
border-bottom: 1px solid var(--bs-border-color);
208-
}
209-
210-
.nav-underline .nav-link.active,
211-
.nav-underline .show > .nav-link {
212-
font-weight: var(--cp-font-weight-medium);
213-
border-bottom-color: var(--cp-color-primary);
214-
color: var(--cp-color-green-800);
208+
.nav-link {
209+
color: color-mix(
210+
in oklch,
211+
var(--cp-color-green-600),
212+
var(--bs-gray-700) 50%
213+
);
214+
}
215+
.nav-link.active,
216+
.show > .nav-link {
217+
font-weight: var(--cp-font-weight-medium);
218+
border-bottom-color: var(--cp-color-primary);
219+
color: var(--cp-color-green-800);
220+
}
215221
}
216222

217223
// badge

browse-next/src/components/CardTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div ref="cardTableContainer">
33
<table
44
v-if="shouldRenderAsRows && hasItems"
5-
class="card-table card-table-table my-2"
5+
class="card-table card-table-table"
66
:class="{ compact, 'rounded-3 shadow-sm bg-white': standalone }"
77
>
88
<thead>

browse-next/src/components/RecordingViewLabels.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ const doAddLabel = async () => {
170170
:items="tableItems"
171171
compact
172172
class="flex-fill flex-grow-1"
173-
:class="{ 'mb-3': tableItems.length }"
173+
:class="{ 'p-1 p-md-0 mb-3': tableItems.length }"
174174
>
175175
<template #_deleteAction="{ cell }">
176176
<button

browse-next/src/components/RecordingViewNotes.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const doAddNote = async () => {
122122
:items="tableItems"
123123
compact
124124
class="flex-fill flex-grow-1"
125-
:class="{ 'mb-3': tableItems.length }"
125+
:class="{ 'p-1 p-md-0 mb-3': tableItems.length }"
126126
>
127127
<template #_deleteAction="{ cell }">
128128
<button

browse-next/src/components/TrackTaggerRow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ onMounted(async () => {
944944
</div>
945945
<div
946946
v-else-if="showTaggerDetails && taggerDetails.length === 0"
947-
class="mb-2"
947+
class="p-2 text-center text-muted fs-6"
948948
>
949949
No tags have been added yet.
950950
</div>

0 commit comments

Comments
 (0)