ryoji-s 2 лет назад
Родитель
Сommit
daf562af1c

+ 2 - 0
apps/app/src/styles/_editor.scss

@@ -118,6 +118,8 @@
     .grw-taglabels-container {
       margin-bottom: 0;
 
+      // TODO: .form-inline dropped in bootstrap v5
+      // https://redmine.weseek.co.jp/issues/128307
       // To scroll tags horizontally
       .grw-tag-labels.form-inline {
         flex-flow: row nowrap;

+ 6 - 1
apps/app/src/styles/_override-rbt.scss

@@ -1,3 +1,5 @@
+// TODO: .form-group dropped in bootstrap v5
+// https://redmine.weseek.co.jp/issues/129103
 // override react-bootstrap-typeahead styles
 // see: https://github.com/ericgio/react-bootstrap-typeahead
 .form-group:not(.has-error) {
@@ -10,9 +12,10 @@
 }
 
 // TODO: check padding when upgrade react-bootstrap-typeahead v6
+// .close to .btn-close in bootstrap v5
 // https://redmine.weseek.co.jp/issues/129103
 .rbt-input-wrapper {
-  .btn-close.rbt-close {
+  .close.rbt-close {
     // default bootstrap .close has padding 0
     padding: 3px 7px;
   }
@@ -23,6 +26,8 @@
   display: none;
 }
 
+// TODO: .input-group-prepend dropped in bootstrap v5
+// https://redmine.weseek.co.jp/issues/129103
 // seamless border for .input-group-prepend
 .input-group-prepend + div {
   .rbt .rbt-input-main {

+ 2 - 0
apps/app/src/styles/theme/_apply-colors-dark.scss

@@ -94,6 +94,8 @@
   //     background-color: hsl.lighten(var(--bgcolor-global),5%);
   //   }
 
+  // TODO: .input-group-prepend dropped in bootstrap v5
+  // https://redmine.weseek.co.jp/issues/128307
   //   .input-group > .input-group-prepend > .input-group-text {
   //     color: theme-color('light');
   //     background-color: theme-color('secondary');

+ 1 - 0
apps/app/test/cypress/e2e/30-search/30-search--search.cy.ts

@@ -387,6 +387,7 @@ context('Search current tree with "prefix":', () => {
 
     cy.get('.grw-global-search-container').within(() => {
       cy.get('.dropdown-menu.show').should('be.visible');
+      // TODO: .input-group-prepend dropped in bootstrap v5
       cy.get('.input-group-prepend.show > div > button:nth-child(2)').click();
       cy.get('.rbt-input').should('be.focused');
       cy.screenshot(`${ssPrefix}1-search-input-focused`);