refactor: Update layout styles and improve KeyPressListener for better UI responsiveness and shortcut handling

This commit is contained in:
Nalvazhuthi
2025-05-15 18:19:35 +05:30
parent 95f118f8ee
commit d6dceb400f
2 changed files with 55 additions and 37 deletions

View File

@@ -70,15 +70,20 @@
position: relative;
.icon {
width: 100%;
margin-bottom: 15px;
text-align: center;
svg {
width: 100%;
}
}
.value {
margin-bottom: 15px;
font-size: 16px;
font-size: var(--font-size-small);
font-weight: 500;
color: var(--text-primary);
}
@@ -154,6 +159,7 @@
border-radius: 4px;
svg {
path {
fill: var(--background-color-accent);
@@ -185,9 +191,10 @@
}
body.compare-layout-open {
main {
padding-right: 10px; // Adjust as needed
transition: padding 0.3s ease;
}
}
// body.compare-layout-open {
// main {
// padding-right: 10px;
// transition: padding 0.3s ease;
// }
// }