|
|
@@ -86,7 +86,7 @@
|
|
|
.cell-popover {
|
|
|
position: absolute;
|
|
|
z-index: 50;
|
|
|
- min-width: 18rem;
|
|
|
+ min-width: 14rem;
|
|
|
padding: 0.75rem;
|
|
|
border-radius: 0.5rem;
|
|
|
border: 1px solid theme('colors.slate.200');
|
|
|
@@ -99,18 +99,28 @@
|
|
|
}
|
|
|
.cell-popover-grid {
|
|
|
display: grid;
|
|
|
- grid-template-columns: 1fr auto;
|
|
|
+ grid-template-columns: auto 1fr;
|
|
|
gap: 1rem;
|
|
|
align-items: center;
|
|
|
}
|
|
|
.cell-popover-slider {
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
gap: 0.4rem;
|
|
|
- min-width: 8rem;
|
|
|
+ min-width: 2.5rem;
|
|
|
}
|
|
|
+ /* Vertical slider — `writing-mode + direction: rtl` covers modern
|
|
|
+ browsers (low at the bottom, high at the top); the WebKit
|
|
|
+ `slider-vertical` appearance and the Firefox `orient="vertical"`
|
|
|
+ attribute (set in JS) are belt-and-braces for older engines. */
|
|
|
.cell-popover-slider input[type="range"] {
|
|
|
- width: 100%;
|
|
|
+ writing-mode: vertical-lr;
|
|
|
+ direction: rtl;
|
|
|
+ -webkit-appearance: slider-vertical;
|
|
|
+ appearance: slider-vertical;
|
|
|
+ width: 1.5rem;
|
|
|
+ height: 8rem;
|
|
|
accent-color: theme('colors.slate.600');
|
|
|
cursor: pointer;
|
|
|
}
|