Skip to content

Commit

Permalink
style: Adjust component styles for improved layout and spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Noggling committed Dec 17, 2024
1 parent 31b946f commit 4081fec
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const AgStyles = {
TableContent: styled.div`
padding-top: 1rem;
position: relative;
height: calc(100% - 3rem);
height: calc(100% - 1rem);
width: 100%;
`,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ export const ActionBar = ({ selection }: { selection: PortalApplication[] }) =>
<Styles.Actions>
<Typography variant="overline">Portal Application Actions</Typography>
{hadNoVersion ? (
<Message title="One ore more selected applications have no build version" type="Warning" />
<Styles.Row>
<RemoveAppsButton selection={selection} removeApps={removeSelected} />
<Message title="One ore more selected applications have no build version" type="Warning" />
</Styles.Row>
) : (
<Styles.Row>
<ActivateSelectedButton selection={selection} activateSelected={activateSelected} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { TreeRoot } from '../Tree/TreeRoot';

const Style = {
Router: styled.span`
margin: 1rem 0 2rem 0;
margin-top: 1rem;
padding: 1rem;
background-color: ${tokens.colors.ui.background__medium.hex};
Expand Down
3 changes: 1 addition & 2 deletions client/apps/portal-administration/src/pages/Portal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@ const Styles = {
flex-direction: column;
padding: 1rem;
display: flex;
height: 100%;
height: calc(100% - 2rem);
`,
Wrapper: styled.div`
display: block;
height: 100%;
overflow: hidden;
`,
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ export const CodeStyle = styled.pre`
background-color: #242a2d;
border: 2px solid #3a3d3e;
color: #ffffff;
padding: 1.5rem;
padding: 2rem;
font-family: monospace;
max-height: -webkit-fill-available;
margin-bottom: 4rem;
margin-bottom: 0.5rem;
overflow: auto;
max-height: calc(100vh - 350px);
.key {
color: rgb(156, 220, 254);
}
Expand Down

0 comments on commit 4081fec

Please sign in to comment.