Skip to content

Commit

Permalink
Improved: added a comment for reason behind using outline css (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Apr 9, 2024
1 parent f4e0c87 commit c5eff28
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/PurchaseOrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ ion-thumbnail {
}
.scanned-item {
/*
Todo: used outline for highliting items for now, need to use border
Done this because currently ion-item inside ion-card is not inheriting highlighted background property.
*/
outline: 2px solid var( --ion-color-medium-tint);
}
Expand Down
4 changes: 4 additions & 0 deletions src/views/ReturnDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ export default defineComponent({
}
.scanned-item {
/*
Todo: used outline for highliting items for now, need to use border
Done this because currently ion-item inside ion-card is not inheriting highlighted background property.
*/
outline: 2px solid var( --ion-color-medium-tint);
}
</style>
Expand Down
4 changes: 4 additions & 0 deletions src/views/ShipmentDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,10 @@ ion-thumbnail {
}
.scanned-item {
/*
Todo: used outline for highliting items for now, need to use border
Done this because currently ion-item inside ion-card is not inheriting highlighted background property.
*/
outline: 2px solid var( --ion-color-medium-tint);
}
</style>

0 comments on commit c5eff28

Please sign in to comment.