Merge pull request #2652 from github/robertbrignull/data_narrow

Make the data extensions editor look a little bit better at small screen sizes
This commit is contained in:
Robert
2023-07-28 10:15:28 +01:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ const ClassificationsContainer = styled.div`
const ClassificationTag = styled(VSCodeTag)`
font-size: 0.75em;
white-space: nowrap;
`;
type Props = {

View File

@@ -208,6 +208,7 @@ function ModelableMethodRow(props: Props) {
<VSCodeDataGridRow>
<ApiOrMethodCell gridColumn={1}>
<ModelingStatusIndicator status={modelingStatus} />
<MethodClassifications externalApiUsage={externalApiUsage} />
<ExternalApiUsageName {...props} />
{mode === Mode.Application && (
<UsagesButton onClick={jumpToUsage}>
@@ -215,7 +216,6 @@ function ModelableMethodRow(props: Props) {
</UsagesButton>
)}
<ViewLink onClick={jumpToUsage}>View</ViewLink>
<MethodClassifications externalApiUsage={externalApiUsage} />
</ApiOrMethodCell>
<VSCodeDataGridCell gridColumn={2}>
<Dropdown

View File

@@ -37,7 +37,7 @@ export const ModeledMethodDataGrid = ({
);
return (
<VSCodeDataGrid gridTemplateColumns="0.4fr 0.15fr 0.15fr 0.15fr 0.15fr">
<VSCodeDataGrid gridTemplateColumns="0.5fr 0.125fr 0.125fr 0.125fr 0.125fr">
<VSCodeDataGridRow rowType="header">
<VSCodeDataGridCell cellType="columnheader" gridColumn={1}>
API or method