mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 16:52:45 +08:00
UX: text overflow user-{primary,secondary}-navigation (#11604)
This commit is contained in:
parent
303f229e98
commit
e4dcf93238
|
@ -1,7 +1,7 @@
|
|||
{{#if selectedHtml}}
|
||||
<li>
|
||||
<a href {{action "toggleExpanded"}} class="expander">
|
||||
<span>{{html-safe selectedHtml}}</span>
|
||||
<span class="selection">{{html-safe selectedHtml}}</span>
|
||||
{{d-icon "caret-down"}}
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -91,10 +91,13 @@ blockquote {
|
|||
align-items: center;
|
||||
padding: 8px 10px;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.expander .selection {
|
||||
@include ellipsis;
|
||||
}
|
||||
|
||||
.expander > .d-icon {
|
||||
&:last-of-type {
|
||||
margin-left: auto;
|
||||
|
|
|
@ -10,10 +10,12 @@
|
|||
grid-column-start: 1;
|
||||
grid-row-start: 1;
|
||||
grid-column-end: 2;
|
||||
min-width: 120px;
|
||||
}
|
||||
.user-secondary-navigation {
|
||||
grid-column-start: 2;
|
||||
grid-row-start: 1;
|
||||
min-width: 120px;
|
||||
}
|
||||
.user-additional-controls + .user-content,
|
||||
.user-secondary-navigation + .user-content {
|
||||
|
|
Loading…
Reference in New Issue
Block a user