Merge pull request #1539 from pixelfed/frontend-ui-refactor

Update ComposeModal.vue, fix media options
This commit is contained in:
daniel 2019-07-21 20:28:22 -06:00 committed by GitHub
commit 64264f0948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 5 additions and 5 deletions

BIN
public/css/app.css vendored

Binary file not shown.

BIN
public/css/appdark.css vendored

Binary file not shown.

BIN
public/css/landing.css vendored

Binary file not shown.

BIN
public/js/compose.js vendored

Binary file not shown.

Binary file not shown.

View file

@ -73,15 +73,15 @@
</ul>
</div>
</div>
<div v-if="ids.length > 0 && ['Image', 'Video'].indexOf(media[carouselCursor].type)" class="bg-lighter p-2 row">
<div v-if="ids.length > 0 && ['Image', 'Video'].indexOf(media[carouselCursor].type) != -1" class="bg-lighter p-2 row">
<div v-if="media[carouselCursor].type == 'Image'" class="col-12">
<div class="form-group">
<input type="text" class="form-control" v-model="media[carouselCursor].alt" placeholder="Optional image description">
</div>
<!-- <div class="form-group">
<div class="form-group">
<input type="text" class="form-control" v-model="media[carouselCursor].license" placeholder="Optional media license">
</div> -->
</div>
</div>
<!-- <div class="col-6 pt-2">
<button class="btn btn-outline-secondary btn-sm mr-1"><i class="fas fa-map-marker-alt"></i></button>

View file

@ -543,12 +543,12 @@ details summary::-webkit-details-marker {
padding: 3px 8px;
color: #fff;
text-align: center;
background-color: #dc3545;
/*background-color: #dc3545;*/
border-radius: .25rem;
}
.tooltip-notification .tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before {
border-top-color: #dc3545;
/*border-top-color: #dc3545; */
}
.carousel-control-prev-icon, .carousel-control-next-icon {