Comment server swap #7706
2 changed files with 13 additions and 3 deletions
|
@ -379,8 +379,9 @@ const CommentActionButtons = (actionButtonsProps: ActionButtonsProps) => {
|
||||||
<SortButton {...sortButtonProps} label={__('New')} icon={ICONS.NEW} sortOption={SORT_BY.NEWEST} />
|
<SortButton {...sortButtonProps} label={__('New')} icon={ICONS.NEW} sortOption={SORT_BY.NEWEST} />
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
<div className="button_refresh">
|
||||||
<Button button="alt" icon={ICONS.REFRESH} title={__('Refresh')} onClick={() => setPage(0)} />
|
<Button button="alt" icon={ICONS.REFRESH} title={__('Refresh')} onClick={() => setPage(0)} />
|
||||||
|
</div>
|
||||||
{allServers.length >= 2 && (
|
{allServers.length >= 2 && (
|
||||||
<div className="button_selectedServer">
|
<div className="button_selectedServer">
|
||||||
<FormField
|
<FormField
|
||||||
|
|
|
@ -333,6 +333,7 @@
|
||||||
align-self: flex-start;
|
align-self: flex-start;
|
||||||
.button--alt {
|
.button--alt {
|
||||||
padding-top: 2px;
|
padding-top: 2px;
|
||||||
|
padding: 0 var(--spacing-s);
|
||||||
}
|
}
|
||||||
.comment__sort {
|
.comment__sort {
|
||||||
.button--alt {
|
.button--alt {
|
||||||
|
@ -660,6 +661,14 @@
|
||||||
|
|
||||||
.button_selectedServer {
|
.button_selectedServer {
|
||||||
display: inline;
|
display: inline;
|
||||||
width: var(--floating-viewer-height);
|
|
||||||
float: right;
|
float: right;
|
||||||
|
min-width: var(--side-nav-width--micro);
|
||||||
|
max-width: var(--side-nav-width);
|
||||||
|
margin-left: -10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button_refresh {
|
||||||
|
display: inline;
|
||||||
|
float: right;
|
||||||
|
margin-left: var(--spacing-s);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue