Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

bootstrap: Remove bootstrap CSS for pull-right class.

Sahil Batra8c0ff704dfa1
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 6a5b42366f4..df4eb564934 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -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 {
diff --git a/web/templates/copy_invite_link.hbs b/web/templates/copy_invite_link.hbs
index 17ae6355d1d..e4214036359 100644
--- a/web/templates/copy_invite_link.hbs
+++ b/web/templates/copy_invite_link.hbs
@@ -1,7 +1,7 @@
{{t "Link:" }}
<a href="{{ invite_link }}" id="multiuse_invite_link">{{ invite_link }}</a>
&nbsp;
-<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>
diff --git a/web/third/bootstrap/css/bootstrap.css b/web/third/bootstrap/css/bootstrap.css
index 03fd821a0dd..05dc6ba02a6 100644
--- a/web/third/bootstrap/css/bootstrap.css
+++ b/web/third/bootstrap/css/bootstrap.css
@@ -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;