Skip to content

Commit

Permalink
#23 Alterações para o correto funcionamento do collapse
Browse files Browse the repository at this point in the history
  • Loading branch information
dvespasiano committed Jun 15, 2021
1 parent 7799a1e commit b45ce12
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 10 deletions.
17 changes: 13 additions & 4 deletions sass/components/template-inventarios/_template-inventarios.scss
Expand Up @@ -66,6 +66,7 @@
}
@media screen and (max-width: $screen__md) {
position: relative;
margin-top: 150px;
}
margin-bottom: 100px;
width: 100%;
Expand Down Expand Up @@ -95,22 +96,30 @@
& .plus-minus::after {
@media screen and (max-width: $screen__sm) {
content: "+";
float: right;
margin-top: -9%;
margin-top: 0%;
position: absolute;
height: 30px;
top: -15px;
right: 0px;
}
}
& .active .plus-minus::after {
@media screen and (max-width: $screen__sm) {
content: "-";
float: right;
margin-top: -9%;
margin-top: 0%;
position: absolute;
height: 30px;
top: -15px;
right: 0px;
}
}
& .header-collapse {
@media screen and (max-width: $screen__md) {
display: flex;
flex-direction: row;
justify-content: space-between;
position: relative;
width: auto;
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion single-tnc_col_527_item.php
Expand Up @@ -18,7 +18,7 @@
<?php echo tainacan_get_the_collection_name(); ?>
</h1>
<div class="metadata-mobile">
<div class="header-collapse">
<div class="header-collapse collapsible">
<span>informações técnicas</span>
<a type="button" class="plus-minus"></a>
</div>
Expand Down
17 changes: 13 additions & 4 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion style.css.map

Large diffs are not rendered by default.

0 comments on commit b45ce12

Please sign in to comment.