mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 11:44:03 +08:00
db5ad34508
This commit introduces the ability to edit the channel
slug from the About tab for the chat channel when the user
is admin. Similar to the create channel modal functionality
introduced in 641e94f
, if
the slug is left empty then we autogenerate a slug based
on the channel name, and if the user just changes the slug
manually we use that instead.
We do not do any link remapping or anything else of the
sort, when the category slug is changed that does not happen
either.
47 lines
943 B
SCSS
47 lines
943 B
SCSS
.create-channel-modal {
|
|
.modal-inner-container {
|
|
width: 500px;
|
|
}
|
|
|
|
.choose-topic-results-list {
|
|
max-height: 200px;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.select-kit.combo-box,
|
|
.create-channel-name-input,
|
|
.create-channel-slug-input,
|
|
.create-channel-description-input,
|
|
#choose-topic-title {
|
|
width: 100%;
|
|
margin-bottom: 0;
|
|
}
|
|
.category-chooser {
|
|
.select-kit-selected-name.selected-name.choice {
|
|
color: var(
|
|
--primary-high
|
|
); // Make consistent with color of placeholder text when choosing topic
|
|
}
|
|
}
|
|
|
|
.create-channel-hint {
|
|
font-size: var(--font-down-1);
|
|
padding-top: 0.25rem;
|
|
color: var(--secondary-low);
|
|
}
|
|
|
|
.create-channel-control,
|
|
.edit-channel-control {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.auto-join-channel {
|
|
&__description {
|
|
margin: 0;
|
|
padding-top: 0.25rem;
|
|
color: var(--secondary-low);
|
|
font-size: var(--font-down-1) !important;
|
|
}
|
|
}
|
|
}
|