You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2018/10/19 18:14:10 UTC

[GitHub] Antonio-Maranhao commented on a change in pull request #1140: Increase the width of string editor modal

Antonio-Maranhao commented on a change in pull request #1140: Increase the width of string editor modal
URL: https://github.com/apache/couchdb-fauxton/pull/1140#discussion_r226736952
 
 

 ##########
 File path: assets/less/bootstrap/modals.less
 ##########
 @@ -25,9 +25,8 @@
   position: fixed;
   top: 10%;
   left: 50%;
+  transform: translateX(-50%);
 
 Review comment:
   I'd rather see these overrides in `fauxton.less`. There's already a section with some in there (search for `bootstrap overrides`). 
   I was able to make it work by adding this to `fauxton.less`:
   ```
   .modal {
     transform: translateX(-50%);
     margin-left: inherit;
   }
   .modal-dialog {
     display: flex;
     flex-direction: row;
   }
    .modal-content {
     flex: 1;
     width: 560px;
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services