Skip to content

Commit

Permalink
allow trust editor to shrink better
Browse files Browse the repository at this point in the history
fixes #122523
  • Loading branch information
sbatten committed May 3, 2021
1 parent a1e2329 commit 022483a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
user-select: text;
display: flex;
flex-direction: row;
flex-flow: wrap;
justify-content: space-evenly;
}

Expand Down Expand Up @@ -199,6 +200,8 @@
.workspace-trust-limitations {
width: 50%;
max-width: 350px;
min-width: 250px;
flex: 1;
}

/** Settings */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export class WorkspaceTrustEditor extends EditorPane {
const foregroundColor = theme.getColor(foreground);
if (foregroundColor) {
const fgWithOpacity = new Color(new RGBA(foregroundColor.rgba.r, foregroundColor.rgba.g, foregroundColor.rgba.b, 0.3));
collector.addRule(`.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations { border: 1px solid ${fgWithOpacity}; margin: 0px 4px; display: flex; flex-direction: column; padding: 10px 40px;}`);
collector.addRule(`.workspace-trust-editor .workspace-trust-features .workspace-trust-limitations { border: 1px solid ${fgWithOpacity}; margin: 4px 4px; display: flex; flex-direction: column; padding: 10px 40px;}`);
}
}));
}
Expand Down

0 comments on commit 022483a

Please sign in to comment.