Update the "Forbidden usernames" UI (#259)
* Add new component for adding/removing forbidden name strings. Closes https://github.com/owncast/owncast/issues/1230 * make editing string styling shareable and consistent with tag editor * Prettified Code! Co-authored-by: gingervitis <omqmail@gmail.com> Co-authored-by: gingervitis <gingervitis@users.noreply.github.com>
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
// config tags block
|
||||
|
||||
.tag-current-tags {
|
||||
.edit-current-strings {
|
||||
.ant-tag {
|
||||
margin: .1rem;
|
||||
font-size: .85rem;
|
||||
margin: 0.1rem;
|
||||
font-size: 0.85rem;
|
||||
border-radius: 10em;
|
||||
padding: .25em 1em;
|
||||
padding: 0.25em 1em;
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.ant-tag-close-icon {
|
||||
transform: translateY(-1px);
|
||||
margin-left: .3rem;
|
||||
margin-left: 0.3rem;
|
||||
padding: 2px;
|
||||
border-radius: 5rem;
|
||||
color: var(--black);
|
||||
@@ -30,7 +30,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.add-new-tag-section {
|
||||
.add-new-string-section {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
Reference in New Issue
Block a user