fix: align Duration picker layout and background color in child tables (#34661)
Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com>
This commit is contained in:
parent
60bd1f3bcd
commit
c692d52bb4
2 changed files with 19 additions and 2 deletions
|
|
@ -424,7 +424,7 @@ textarea.form-control {
|
|||
/* duration control */
|
||||
|
||||
.duration-picker {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
z-index: 999;
|
||||
border-radius: var(--border-radius);
|
||||
box-shadow: var(--shadow-sm);
|
||||
|
|
@ -470,7 +470,7 @@ textarea.form-control {
|
|||
width: 55px;
|
||||
border: none;
|
||||
color: var(--text-color);
|
||||
background-color: var(--control-bg);
|
||||
background-color: var(--bg-gray);
|
||||
border-radius: var(--border-radius);
|
||||
padding: 4px 8px;
|
||||
}
|
||||
|
|
@ -486,6 +486,22 @@ textarea.form-control {
|
|||
.picker-row {
|
||||
display: flex;
|
||||
margin: var(--margin-sm);
|
||||
|
||||
.col {
|
||||
&:last-child {
|
||||
.grid-row & {
|
||||
// remove flex and justify content added by grid context
|
||||
display: block;
|
||||
justify-content: initial;
|
||||
}
|
||||
}
|
||||
|
||||
.grid-row & {
|
||||
// remove border and padding added by grid context
|
||||
border-right: none;
|
||||
padding: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
.for-description {
|
||||
@include get_textstyle("sm", "regular");
|
||||
}
|
||||
|
||||
min-height: var(--input-height);
|
||||
border-radius: var(--border-radius-sm);
|
||||
padding: 4px 8px;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue