diff --git a/components/report_cards/target/NameAndClassification.vue b/components/report_cards/target/NameAndClassification.vue index 5f7263b8e470af779da66c88b7b917551680c11c..70b1b0bdb54e68d0048a4746d2d794559a54abf6 100644 --- a/components/report_cards/target/NameAndClassification.vue +++ b/components/report_cards/target/NameAndClassification.vue @@ -63,6 +63,8 @@ :protein-classifications=" nameAndClassificationData._metadata.protein_classification " + :item-i-d="itemID" + :entity-i-d="entityID" /> </div> </v-col> diff --git a/components/report_cards/target/TargetCrystalStructures.vue b/components/report_cards/target/TargetCrystalStructures.vue index 4a4a7b2cb23f4aa3c89f1adfd7ba015c3adc95a1..056f3bf7aa7e49b66d1116061222a765105c0619 100644 --- a/components/report_cards/target/TargetCrystalStructures.vue +++ b/components/report_cards/target/TargetCrystalStructures.vue @@ -6,19 +6,28 @@ </template> <template v-if="!loading && thereAreAccessions"> <v-card-text> - <v-btn - v-for="accession in uniProtAccessions" - :key="accession" - depressed - color="primary" - :href="`https://www.uniprot.org/uniprot/${accession}`" - target="_blank" - class="a-button" - > - {{ accession }} + <v-row> + <v-col + v-for="accession in uniProtAccessions" + :key="accession" + cols="6" + sm="3" + lg="2" + > + <div class="d-flex justify-center align-center"> + <v-btn + depressed + color="primary" + :href="`https://www.uniprot.org/uniprot/${accession}`" + target="_blank" + > + {{ accession }} - <v-icon> mdi-open-in-new </v-icon> - </v-btn> + <v-icon> mdi-open-in-new </v-icon> + </v-btn> + </div> + </v-col> + </v-row> </v-card-text> </template> </v-card> @@ -95,8 +104,4 @@ export default { } </script> -<style lang="scss" scoped> -.a-button { - margin-right: 5px; -} -</style> +<style lang="scss" scoped></style> diff --git a/web-components-submodule b/web-components-submodule index 35d960ddb1ba11b49ce4becc53ce7651770e54b3..90d092e3a4d86cffc1c80164cea2129f6474b407 160000 --- a/web-components-submodule +++ b/web-components-submodule @@ -1 +1 @@ -Subproject commit 35d960ddb1ba11b49ce4becc53ce7651770e54b3 +Subproject commit 90d092e3a4d86cffc1c80164cea2129f6474b407