Skip to content

Commit

Permalink
fix(IsWordOfTheDayCrown): Single Page Position
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-berlin committed Jan 7, 2024
1 parent a1cca6b commit a838f86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/word/IsWordOfTheDay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<span
v-if="isWordOfTheDay"
v-tooltip="{
content: `${word} ist das heutige Wort des Tages`,
content: `${word}, ist das heutige Wort des Tages`,

Check warning on line 5 in src/components/word/IsWordOfTheDay.vue

View check run for this annotation

Codecov / codecov/patch

src/components/word/IsWordOfTheDay.vue#L5

Added line #L5 was not covered by tests
distance: 10,
placement: 'right',
}"
Expand Down Expand Up @@ -40,4 +40,4 @@ onBeforeMount(() => {
});
</script>

<style scoped></style>
<style lang="scss"></style>

Check warning on line 43 in src/components/word/IsWordOfTheDay.vue

View check run for this annotation

Codecov / codecov/patch

src/components/word/IsWordOfTheDay.vue#L43

Added line #L43 was not covered by tests
6 changes: 6 additions & 0 deletions src/styles/components/_single-word.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
justify-content: space-between;
}

.c-word-of-the-day-crown {
position: absolute;
top: -15px;
color: vars.$gold;
}

.c-options-dropdown {
align-self: flex-start;
}
Expand Down

0 comments on commit a838f86

Please sign in to comment.