Skip to content

Commit 380b925

Browse files
committed
styles mobile side bar
1 parent 8b8f0b3 commit 380b925

11 files changed

Lines changed: 485 additions & 341 deletions

File tree

eslint.config.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ module.exports = defineConfig([
3131
style: "kebab-case",
3232
},
3333
],
34-
// eslint-disable-next-line
35-
"@angular-eslint/template/click-events-have-key-events": "off",
3634
},
3735
},
3836
{
@@ -41,6 +39,9 @@ module.exports = defineConfig([
4139
angular.configs.templateRecommended,
4240
angular.configs.templateAccessibility,
4341
],
44-
rules: {},
42+
rules: {
43+
"@angular-eslint/template/click-events-have-key-events": "off",
44+
"@angular-eslint/template/interactive-supports-focus": "warn",
45+
},
4546
},
4647
]);

src/app/components/calculator/calculator.component.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,8 +249,6 @@
249249
padding: 0 1rem;
250250

251251
.display {
252-
padding: 1.5rem;
253-
254252
.display-value {
255253
font-size: 2rem;
256254
}
@@ -266,6 +264,17 @@
266264
}
267265
}
268266

267+
@media (max-width: $breakpoint-md) {
268+
.calculator {
269+
.calculator-grid {
270+
.calc-btn {
271+
font-size: 1rem;
272+
min-height: 90px;
273+
}
274+
}
275+
}
276+
}
277+
269278
@keyframes pulse-selection {
270279
0%,
271280
100% {

0 commit comments

Comments
 (0)