mirror of https://github.com/zulip/zulip.git
bootstrap: Remove bootstrap CSS for pull-right class.
We use pull-right class for copy button with the multi-use invite link only and this commit adds CSS for that specific element. This commit then removes the bootstrap CSS for pull-right class and also removes pull-right class from the copy button since it is no longer required.
This commit is contained in:
parent
f4d082a5ff
commit
8c0ff704df
|
@ -800,6 +800,7 @@ li,
|
|||
margin-right: -32px;
|
||||
margin-top: -1px;
|
||||
padding: 6px 3px 6px 13px;
|
||||
float: right;
|
||||
|
||||
/* This property nullifies the box-shadow rendered by .btn class */
|
||||
&:active {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{t "Link:" }}
|
||||
<a href="{{ invite_link }}" id="multiuse_invite_link">{{ invite_link }}</a>
|
||||
|
||||
<a class="btn pull-right copy_button_base tippy-zulip-tooltip" data-tippy-content="{{t 'Copy link' }}" aria-label="{{t 'Copy link' }}"
|
||||
<a class="btn copy_button_base tippy-zulip-tooltip" data-tippy-content="{{t 'Copy link' }}" aria-label="{{t 'Copy link' }}"
|
||||
id='copy_generated_invite_link' data-clipboard-text="{{ invite_link }}">
|
||||
{{> copy_to_clipboard_svg }}
|
||||
</a>
|
||||
|
|
|
@ -227,23 +227,6 @@ blockquote small {
|
|||
blockquote small:before {
|
||||
content: '\2014 \00A0';
|
||||
}
|
||||
blockquote.pull-right {
|
||||
float: right;
|
||||
padding-right: 15px;
|
||||
padding-left: 0;
|
||||
border-right: 5px solid #eeeeee;
|
||||
border-left: 0;
|
||||
}
|
||||
blockquote.pull-right p,
|
||||
blockquote.pull-right small {
|
||||
text-align: right;
|
||||
}
|
||||
blockquote.pull-right small:before {
|
||||
content: '';
|
||||
}
|
||||
blockquote.pull-right small:after {
|
||||
content: '\00A0 \2014';
|
||||
}
|
||||
q:before,
|
||||
q:after,
|
||||
blockquote:before,
|
||||
|
@ -620,9 +603,6 @@ input.search-query {
|
|||
.nav > li > a > img {
|
||||
max-width: none;
|
||||
}
|
||||
.nav > .pull-right {
|
||||
float: right;
|
||||
}
|
||||
.nav-header {
|
||||
display: block;
|
||||
padding: 3px 15px;
|
||||
|
@ -1150,10 +1130,6 @@ input.search-query {
|
|||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
.dropdown-menu.pull-right {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
.dropdown-menu .divider {
|
||||
height: 1px;
|
||||
margin: 9px 1px;
|
||||
|
@ -1219,10 +1195,6 @@ input.search-query {
|
|||
top: 0;
|
||||
z-index: 990;
|
||||
}
|
||||
.pull-right > .dropdown-menu {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
.dropup .caret {
|
||||
border-top: 0;
|
||||
border-bottom: 4px solid #000000;
|
||||
|
@ -1371,9 +1343,6 @@ button.close {
|
|||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
.pull-right {
|
||||
float: right;
|
||||
}
|
||||
.pull-left {
|
||||
float: left;
|
||||
}
|
||||
|
@ -1437,8 +1406,7 @@ button.close {
|
|||
}
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
.media .pull-left,
|
||||
.media .pull-right {
|
||||
.media .pull-left {
|
||||
float: none;
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
|
|
Loading…
Reference in New Issue