Skip to content

Commit

Permalink
fix(ui): persist evaluationScreen despite empty
Browse files Browse the repository at this point in the history
  • Loading branch information
lemredd committed Dec 22, 2022
1 parent 74562db commit f5de164
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/components/CalculatorContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function evaluateExpression(valueToAppend: PossibleButtonValues) {

<style lang="scss">
.entry-screen {
@apply text-2xl;
@apply text-4xl;
direction: rtl;
width: 100%;
Expand All @@ -127,9 +127,17 @@ function evaluateExpression(valueToAppend: PossibleButtonValues) {
}
.screens {
position: relative;
.evaluation-screen-container {
@apply flex justify-end;
position: absolute;
top: 0;
right: 0;
}
.screen:nth-child(2) {
@apply mt-8 mb-2;
}
}
Expand Down

0 comments on commit f5de164

Please sign in to comment.