Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
temporary fix for #25 adds spacing to optimization buttons when they …
Browse files Browse the repository at this point in the history
…collapse at bolt's media queries
  • Loading branch information
cdowdy committed Dec 22, 2017
1 parent 39400b8 commit d5797a4
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/js/components/buttons/TinypngDropdownButton.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="btn-group" :class="{ open: isVisible } ">
<div class="btn-group tinypng-button-group" :class="{ open: isVisible } ">

<bolt-button type="button"
:disabled="disabled"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="btn-group">
<div class="btn-group tinypng-button-group">
<bolt-button type="button"
@click="openModal = true "
:id="file.filename"
Expand Down
4 changes: 2 additions & 2 deletions web/tinypng.optimize.js

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions web/tinypng.styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,24 @@
}
}

/*.tinypng-button-list {*/
/*list-style: none;*/
/*display: flex;*/
/*flex-flow: row wrap;*/
/*justify-content: space-between;*/
/*}*/
/*@media screen and (max-width: 969px){*/
/*.tinypng-button-list {*/
/*display: flex;*/
/*flex-direction: column;*/
/*}*/
/*}*/

@media screen and (max-width: 1143px){
.tinypng-button-group {
margin-bottom: 2.5rem;
}
}



0 comments on commit d5797a4

Please sign in to comment.