Browse Source

Fixes #1197 - bad css when missing base

main
Eric Amodio 4 years ago
parent
commit
4313f1696f
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      src/webviews/apps/rebase/rebase.ts
  2. +2
    -1
      src/webviews/apps/scss/rebase.scss

+ 1
- 0
src/webviews/apps/rebase/rebase.ts View File

@ -333,6 +333,7 @@ class RebaseEditor extends App {
++tabIndex,
);
$container.appendChild($el);
$container.classList.add('entries--base');
}
document

+ 2
- 1
src/webviews/apps/scss/rebase.scss View File

@ -204,7 +204,8 @@ $entry-padding: 5px;
}
}
&:nth-last-child(2) {
.entries--base &:nth-last-of-type(2),
:not(.entries--base) &:nth-last-of-type(1) {
& select {
& > option[value='squash'],
& > option[value='fixup'] {

Loading…
Cancel
Save