* Submitting a fix for popover titles

* Fixing heading for channels

* Fixing other minor corner cases for long username
Этот коммит содержится в:
Asaad Mahmood
2016-04-28 23:52:22 +05:00
коммит произвёл Christopher Speller
родитель 383cddd3d1
Коммит 938caa061d
4 изменённых файлов: 19 добавлений и 1 удалений

Просмотреть файл

@@ -18,7 +18,10 @@
.popover-title { .popover-title {
background: alpha-color($black, .05); background: alpha-color($black, .05);
max-width: 100%;
overflow: hidden;
padding: 8px 10px; padding: 8px 10px;
text-overflow: ellipsis;
} }
.popover-content { .popover-content {

Просмотреть файл

@@ -82,6 +82,12 @@
.channel-intro-profile { .channel-intro-profile {
margin-left: 63px; margin-left: 63px;
margin-top: 5px; margin-top: 5px;
.user-popover {
max-width: calc(100% - 100px);
overflow: hidden;
text-overflow: ellipsis;
}
} }
.channel-intro-img { .channel-intro-img {
@@ -106,6 +112,7 @@
.channel-intro-text { .channel-intro-text {
margin-top: 35px; margin-top: 35px;
word-break: break-all;
} }
} }
@@ -308,7 +315,7 @@
font-size: 1.3em; font-size: 1.3em;
font-weight: 600; font-weight: 600;
margin: 0 4px 0 0; margin: 0 4px 0 0;
max-width: 100%; max-width: calc(100% - 50px);
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
vertical-align: middle; vertical-align: middle;

Просмотреть файл

@@ -70,8 +70,12 @@
.heading { .heading {
color: $white; color: $white;
display: inline-block;
font-weight: 600; font-weight: 600;
margin-right: 3px; margin-right: 3px;
overflow: hidden;
vertical-align: top;
width: calc(100% - 200px);
} }
.header-dropdown__icon { .header-dropdown__icon {

Просмотреть файл

@@ -11,6 +11,10 @@
} }
} }
.user-popover {
pointer-events: none;
}
.signup-team__container { .signup-team__container {
font-size: 1em; font-size: 1em;
} }