Skip to content

Commit

Permalink
feat(ui): hide button to show history
Browse files Browse the repository at this point in the history
This button will only show on a certain maximum viewport size
  • Loading branch information
lemredd committed Jan 16, 2023
1 parent 87eee23 commit 16cc56d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ import Calculator from "@/CalculatorContainer.vue"
<Calculator />
</template>

<style scoped lang="scss">
<style lang="scss">
@import "./style.scss";
</style>
6 changes: 6 additions & 0 deletions src/components/CalculatorContainer/HistoryContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,10 @@ function revertToChosenHistory(historyItem: HistoryItem) {
z-index: 101;
}
@screen md {
.show-history-btn {
display: none;
}
}
</style>

0 comments on commit 16cc56d

Please sign in to comment.