Skip to content
Snippets Groups Projects
Unverified Commit 15b64c6a authored by Julius Härtl's avatar Julius Härtl
Browse files

Fix action listing alignment


Signed-off-by: default avatarJulius Härtl <jus@bitgrid.net>
parent 46931c98
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,11 @@ ...@@ -4,9 +4,11 @@
<div class="actions__item__description"> <div class="actions__item__description">
<h3>{{ operation.name }}</h3> <h3>{{ operation.name }}</h3>
<small>{{ operation.description }}</small> <small>{{ operation.description }}</small>
<button v-if="colored"> <div>
{{ t('workflowengine', 'Add new flow') }} <button v-if="colored">
</button> {{ t('workflowengine', 'Add new flow') }}
</button>
</div>
</div> </div>
<div class="actions__item_options"> <div class="actions__item_options">
<slot /> <slot />
......
...@@ -108,7 +108,7 @@ export default { ...@@ -108,7 +108,7 @@ export default {
.actions { .actions {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
max-width: 900px; max-width: 1200px;
.actions__item { .actions__item {
max-width: 280px; max-width: 280px;
flex-basis: 250px; flex-basis: 250px;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
margin-right: 20px; margin-right: 20px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.icon { .actions__item .icon {
display: block; display: block;
width: 100%; width: 100%;
height: 50px; height: 50px;
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
} }
.actions__item__description { .actions__item__description {
text-align: center; text-align: center;
flex-grow: 1;
display: flex;
flex-direction: column;
} }
.actions__item_options { .actions__item_options {
width: 100%; width: 100%;
...@@ -38,6 +41,7 @@ h3 { ...@@ -38,6 +41,7 @@ h3 {
} }
small { small {
font-size: 10pt; font-size: 10pt;
flex-grow: 1;
} }
.colored:not(.more) { .colored:not(.more) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment