8000 Shared modal styles conflict by octavioamu · Pull Request #5625 · gitcoinco/web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Shared modal styles conflict #5625

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 11, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions app/kudos/templates/share.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% load kudos_extras %}
{% load i18n static %}
<style>
.modal {
#share-modal.modal {
display: none;
position: fixed;
z-index: 1025;
Expand All @@ -15,7 +15,7 @@
overflow-y: auto;
}

.modal-content {
#share-modal .modal-content {
background-color: #fefefe;
margin: 15% auto;
padding: 20px;
Expand All @@ -29,7 +29,7 @@
cursor: pointer;
}

.modal #kudos-image {
#share-modal .kudos-image {
max-width: 12rem;
}

Expand Down Expand Up @@ -60,22 +60,22 @@

@media (max-width: 991.98px) {

.modal-content {
#share-modal .modal-content {
width: 80%;
}

#share-modal p {
text-align: center;
}

#share-modal #kudos-image {
#share-modal .kudos-image {
margin: auto;
}
}

@media (max-width: 767.98px) {

.modal-content {
#share-modal .modal-content {
< 910A /td> width: 100%;
}

Expand All @@ -102,7 +102,7 @@
<div class="col-12 text-center">
<h1 class="font-title-lg mb-4">{% trans "Share" %} Kudos!</h1>
</div>
<div id="kudos-image" class="col-12 offset-lg-4 col-lg-4">
<div id="kudos-image" class="kudos-image col-12 offset-lg-4 col-lg-4">
<img src="{{kudos.static_image}}" alt="{{ kudos.name }}" class="w-100">
</div>
<div class="col-12 col-lg-4 my-auto">
Expand All @@ -118,7 +118,7 @@ <h1 class="font-title-lg mb-4">{% trans "Share" %} Kudos!</h1>
<div class="col-12 my-4 text-center">
<input class="form__input"type="text" value="{{ request.META.HTTP_HOST }}{% url 'kudos_details' kudos.id kudos.name %}" id="shareLink" readonly>
<button class="btn btn-gc-blue button__small font-body" id="copyLink">
<i data-toggle="tooltip" title="" data-html="true"
<i data-toggle="tooltip" title="" data-html="true"
data-original-title="<span class='title-tooltip text-center'>{% trans 'Click To Copy' %}</span>"
data-template='<div class="tooltip-kudos tooltip-share" role="tooltip"><div class="tooltip-inner"></div></div>' class="text-color_blue">
{% trans "Copy Link" %}
Expand All @@ -134,4 +134,4 @@ <h1 class="font-title-lg mb-4">{% trans "Share" %} Kudos!</h1>
data-size="large"><i class="fab fa-facebook mr-2"></i>{% trans "Share on" %} Facebook</a>
</div>
</div>
</div>
</div>
0