Properly center all path, screen and component dropdown menu icons

This commit is contained in:
Andrew Kingston 2022-03-21 09:57:55 +00:00
parent 88e619aff7
commit a8a6c0a428
4 changed files with 20 additions and 3 deletions

View File

@ -125,10 +125,9 @@
height: 20px; height: 20px;
cursor: pointer; cursor: pointer;
position: relative; position: relative;
flex-direction: row; display: grid;
justify-content: center;
align-items: center;
margin-left: var(--spacing-s); margin-left: var(--spacing-s);
place-items: center;
} }
.iconText { .iconText {

View File

@ -138,3 +138,10 @@
onOk={deleteComponent} onOk={deleteComponent}
/> />
{/if} {/if}
<style>
.icon {
display: grid;
place-items: center;
}
</style>

View File

@ -75,4 +75,8 @@
align-items: flex-start; align-items: flex-start;
padding-left: var(--spacing-xl); padding-left: var(--spacing-xl);
} }
.icon {
display: grid;
place-items: center;
}
</style> </style>

View File

@ -103,3 +103,10 @@
confirmText="Duplicate" confirmText="Duplicate"
/> />
</Modal> </Modal>
<style>
.icon {
display: grid;
place-items: center;
}
</style>