You are here

paragraphs-features.add-in-between.css in Paragraphs Features 8

Same filename and directory in other branches
  1. 2.x css/paragraphs-features.add-in-between.css
/*
 * 1. "+ Add" button is left aligned and we want it in middle.
 */
.js .paragraphs-features__add-in-between__wrapper .paragraphs-features__add-in-between__button {
  margin: 0 auto; /* 1 */
}
@media screen and (max-width: 600px) {
  /*
   * 1. The button text is not vertically aligned for mobile view.
   */
  .js .paragraphs-features__add-in-between__wrapper .paragraphs-features__add-in-between__button {
    padding-top: 5px; /* 1 */
  }
}

File

css/paragraphs-features.add-in-between.css
View source
  1. /*
  2. * 1. "+ Add" button is left aligned and we want it in middle.
  3. */
  4. .js .paragraphs-features__add-in-between__wrapper .paragraphs-features__add-in-between__button {
  5. margin: 0 auto; /* 1 */
  6. }
  7. @media screen and (max-width: 600px) {
  8. /*
  9. * 1. The button text is not vertically aligned for mobile view.
  10. */
  11. .js .paragraphs-features__add-in-between__wrapper .paragraphs-features__add-in-between__button {
  12. padding-top: 5px; /* 1 */
  13. }
  14. }