Skip to content

Commit

Permalink
margin removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ByronEricPerez committed Oct 4, 2022
1 parent b6e71a8 commit d2e147f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
7 changes: 6 additions & 1 deletion ui/component/commentsList/view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,14 @@ const CommentActionButtons = (actionButtonsProps: ActionButtonsProps) => {
value={commentServer}
>
{allServers.map(function (server) {
let name = server.name;
if (name.length > 10) {
name = name.substring(0, 10);
name = name + '...';
}
return (
<option key={server.url} value={server.url}>
{server.name}
{name}
</option>
);
})}
Expand Down
5 changes: 2 additions & 3 deletions ui/scss/component/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -662,9 +662,8 @@
.button_selectedServer {
display: inline;
float: right;
min-width: var(--side-nav-width--micro);
max-width: var(--side-nav-width);
margin-left: -10px;
min-width: var(--input-select-server-min-width);
max-width: var(--input-select-server-max-width);
}

.button_refresh {
Expand Down
4 changes: 0 additions & 4 deletions ui/scss/component/_comments.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,12 @@ $thumbnailWidthSmall: 1rem;
}

.comment__sort {
margin-right: var(--spacing-s);
display: inline-block;

@media (min-width: $breakpoint-small) {
margin-top: 0;
display: inline;
}
@media (max-width: $breakpoint-small) {
margin-right: 0;
}
}

.comment {
Expand Down
3 changes: 3 additions & 0 deletions ui/scss/init/_vars.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ $spacing-width: 36px;
--floating-viewer-container-height: calc(var(--floating-viewer-height) + var(--floating-viewer-info-height));
--option-select-width: 8rem;

--input-select-server-min-width: 100px;
--input-select-server-max-width: 250px;

// Text
--text-max-width: 660px;
--text-link-padding: 4px;
Expand Down

0 comments on commit d2e147f

Please sign in to comment.