refactor: Update layout styles and improve KeyPressListener for better UI responsiveness and shortcut handling
This commit is contained in:
@@ -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;
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user