Skip to content

Commit 5a36a63

Browse files
committed
fix subtitle font 404 and moods slider misalignment
1 parent 9cd2942 commit 5a36a63

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

examples/demos/common/styles/demos.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
@font-face {
1111
font-family: "Myriad Bold";
12-
src: url("./Myriad\ Bold.otf");
12+
src: url("./Myriad Bold.otf");
1313
font-weight: bold;
1414
font-style: normal;
1515
}

examples/demos/genre-tagging/src/PredictionSet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default {
4343
}
4444
</script>
4545

46-
<style lang="scss">
46+
<style lang="scss" scoped>
4747
.prediction-set {
4848
margin: .5em;
4949
padding: .5em;

examples/demos/mood-classifiers/src/MoodClassifier.vue

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@
3535
</div>
3636
</div>
3737
<div id="results">
38-
<div v-for="(classifier, key) in classifiers" :key="key" class="results-row">
39-
<span class="icon-span">{{ classifier.icon }}</span>
40-
<div class="classifier-meter"
41-
:data-classifier="classifier.label"
42-
:style="{'--meter-width': predictions[key]*100}"
43-
:class="{'filled': predictions[key] != null}"
44-
></div>
38+
<div class="ui two column centered grid">
39+
<div class="row" v-for="(classifier, key) in classifiers" :key="key">
40+
<span class="icon-span one wide column">{{ classifier.icon }}</span>
41+
<div class="classifier-meter fourteen wide column"
42+
:data-classifier="classifier.label"
43+
:style="{'--meter-width': predictions[key]*100}"
44+
:class="{'filled': predictions[key] != null}"
45+
></div>
46+
</div>
4547
</div>
4648
<div id="bpm-and-key">
4749
<div id="bpm" class="results-row">
@@ -196,8 +198,8 @@ a#essentia-header-link:active {
196198
}
197199
198200
span {
199-
margin: auto .8rem;
200201
&.tag {
202+
margin: auto .8rem;
201203
font-weight: bold;
202204
font-size: 1rem;
203205
}
@@ -218,8 +220,8 @@ span {
218220
}
219221
220222
.classifier-meter {
221-
width: 100%;
222-
height: 1.8rem;
223+
/* width: 100%; */
224+
height: 2rem;
223225
position: relative;
224226
225227
border: 1px solid var(--footer-header-dark-blue);
@@ -231,7 +233,7 @@ span {
231233
}
232234
}
233235
234-
.classifier-meter, #bpm-and-key {
236+
#bpm-and-key {
235237
margin-top: .5rem;
236238
margin-bottom: .5rem;
237239
margin-right: 0.8rem;

0 commit comments

Comments
 (0)