mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 16:53:43 +08:00
UX: fixes display issues in split to existing topic modal
This commit is contained in:
parent
9fd704735e
commit
94c724fb89
|
@ -9,13 +9,18 @@
|
|||
<p>{{i18n 'choose_topic.none_found'}}</p>
|
||||
{{else}}
|
||||
{{#each topics as |t|}}
|
||||
<div class='controls'>
|
||||
<div class='controls existing-topic'>
|
||||
<label class='radio'>
|
||||
<input type='radio' id="choose-topic-{{unbound t.id}}" name='choose_topic_id' {{action "chooseTopic" t}}>{{t.title}}
|
||||
{{#if t.category.parentCategory}}
|
||||
{{bound-category-link t.category.parentCategory}}
|
||||
{{/if}}
|
||||
{{bound-category-link t.category}}
|
||||
<input type='radio' id="choose-topic-{{unbound t.id}}" name='choose_topic_id' {{action "chooseTopic" t}}>
|
||||
<span class="topic-title">
|
||||
{{t.title}}
|
||||
</span>
|
||||
<span class="topic-categories">
|
||||
{{#if t.category.parentCategory}}
|
||||
{{bound-category-link t.category.parentCategory}}
|
||||
{{/if}}
|
||||
{{bound-category-link t.category}}
|
||||
</span>
|
||||
</label>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
|
|
@ -569,6 +569,21 @@
|
|||
}
|
||||
}
|
||||
|
||||
// split topic modal
|
||||
.split-modal {
|
||||
// move to existing topic
|
||||
.existing-topic {
|
||||
.radio {
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
.topic-categories {
|
||||
width: 100%;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tabbed-modal {
|
||||
.modal-body {
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in New Issue
Block a user