Skip to content

Commit

Permalink
fix links in alerts for i18n content
Browse files Browse the repository at this point in the history
  • Loading branch information
bikubi committed Oct 21, 2024
1 parent 762d322 commit a1bfe57
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions frontend/javascript/components/postupload/post-upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1647,14 +1647,6 @@ addEventListener('hashchange', () => {
}
}
/* make links stand out more in alert boxes */
.alert {
a {
text-decoration: underline;
}
}
/* re-style the component's filename-dialog so first it looks less interactive,
* until you click "change filename" */
Expand Down Expand Up @@ -1685,3 +1677,12 @@ addEventListener('hashchange', () => {
}
</style>
<style lang="scss">
/* make links stand out more in alert boxes.
needs to be unscoped because i18n/v-html */
.post-upload .alert a {
text-decoration: underline;
}
</style>

0 comments on commit a1bfe57

Please sign in to comment.