margin removed
This commit is contained in:
parent
b6e71a880e
commit
d2e147f911
4 changed files with 11 additions and 8 deletions
|
@ -398,9 +398,14 @@ const CommentActionButtons = (actionButtonsProps: ActionButtonsProps) => {
|
||||||
value={commentServer}
|
value={commentServer}
|
||||||
>
|
>
|
||||||
{allServers.map(function (server) {
|
{allServers.map(function (server) {
|
||||||
|
let name = server.name;
|
||||||
|
if (name.length > 10) {
|
||||||
|
name = name.substring(0, 10);
|
||||||
|
name = name + '...';
|
||||||
|
}
|
||||||
return (
|
return (
|
||||||
<option key={server.url} value={server.url}>
|
<option key={server.url} value={server.url}>
|
||||||
{server.name}
|
{name}
|
||||||
</option>
|
</option>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
|
|
|
@ -662,9 +662,8 @@
|
||||||
.button_selectedServer {
|
.button_selectedServer {
|
||||||
display: inline;
|
display: inline;
|
||||||
float: right;
|
float: right;
|
||||||
min-width: var(--side-nav-width--micro);
|
min-width: var(--input-select-server-min-width);
|
||||||
max-width: var(--side-nav-width);
|
max-width: var(--input-select-server-max-width);
|
||||||
margin-left: -10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.button_refresh {
|
.button_refresh {
|
||||||
|
|
|
@ -37,16 +37,12 @@ $thumbnailWidthSmall: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment__sort {
|
.comment__sort {
|
||||||
margin-right: var(--spacing-s);
|
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
||||||
@media (min-width: $breakpoint-small) {
|
@media (min-width: $breakpoint-small) {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
@media (max-width: $breakpoint-small) {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment {
|
.comment {
|
||||||
|
|
|
@ -62,6 +62,9 @@ $spacing-width: 36px;
|
||||||
--floating-viewer-container-height: calc(var(--floating-viewer-height) + var(--floating-viewer-info-height));
|
--floating-viewer-container-height: calc(var(--floating-viewer-height) + var(--floating-viewer-info-height));
|
||||||
--option-select-width: 8rem;
|
--option-select-width: 8rem;
|
||||||
|
|
||||||
|
--input-select-server-min-width: 100px;
|
||||||
|
--input-select-server-max-width: 250px;
|
||||||
|
|
||||||
// Text
|
// Text
|
||||||
--text-max-width: 660px;
|
--text-max-width: 660px;
|
||||||
--text-link-padding: 4px;
|
--text-link-padding: 4px;
|
||||||
|
|
Loading…
Reference in a new issue