Skip to content

Commit

Permalink
Move odata loading styles to the right place (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktuite authored May 1, 2024
1 parent 3fb0c22 commit bd2581a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
23 changes: 23 additions & 0 deletions src/components/odata-loading-message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,29 @@ const message = computed(() => {

</script>

<style lang="scss">
@import '../assets/scss/variables';

#odata-loading-message {
margin-left: 28px;
padding-bottom: 38px;
position: relative;

#odata-loading-spinner-container {
margin-right: 8px;
position: absolute;
top: 8px;
width: 16px; // eventually probably better not to default spinner to center.
}

#odata-loading-message-text {
color: #555;
font-size: 12px;
padding-left: 24px;
}
}
</style>

<i18n lang="json5">
{
"en": {
Expand Down
19 changes: 0 additions & 19 deletions src/components/submission/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -373,25 +373,6 @@ export default {
margin-bottom: 10px;
margin-left: auto;
}

#submission-list-message {
margin-left: 28px;
padding-bottom: 38px;
position: relative;

#submission-list-spinner-container {
margin-right: 8px;
position: absolute;
top: 8px;
width: 16px; // eventually probably better not to default spinner to center.
}

#submission-list-message-text {
color: #555;
font-size: 12px;
padding-left: 24px;
}
}
</style>

<i18n lang="json5">
Expand Down

0 comments on commit bd2581a

Please sign in to comment.