diff --git a/src/page-circle-edit.pug b/src/page-circle-edit.pug index 21d2554..e262f7e 100644 --- a/src/page-circle-edit.pug +++ b/src/page-circle-edit.pug @@ -37,7 +37,7 @@ div.content-box__info h1 Edit your circle - sib-form.block( + sib-form.block.circle-edit-form( bind-resources fields='block-circle__info(name, owner), description' diff --git a/src/page-circle-profile.pug b/src/page-circle-profile.pug index e249311..64b13da 100644 --- a/src/page-circle-profile.pug +++ b/src/page-circle-profile.pug @@ -7,18 +7,16 @@ sib-router(default-route='circle-profile') .content-box__info .space-between - div - sib-display.testblock( - bind-resources - fields='creationDateSet(title, creationDate)' + sib-display( + bind-resources + fields='creationDateSet(title, creationDate)' - value-title='Creation date:' - - widget-creationDate='sib-display-date' - ) - div - sib-ac-checker.testblock.circle-edit-button(permission='acl:Write', bind-resources) - sib-link.button.text-bold.text-uppercase.reversed.button-blue.bordered.with-icon.icon-pencil(next='circle-edit', bind-resources) Edit and add Members + value-title='Creation date:' + + widget-creationDate='sib-display-date' + ) + sib-ac-checker.testblock.circle-edit-button(permission='acl:Write', bind-resources) + sib-link.button.text-bold.text-uppercase.reversed.button-blue.bordered.with-icon.icon-pencil(next='circle-edit', bind-resources) Edit and add Members h2(name="label-team") Members: diff --git a/src/styles/base/main.scss b/src/styles/base/main.scss index 31dbb20..58304c3 100644 --- a/src/styles/base/main.scss +++ b/src/styles/base/main.scss @@ -416,4 +416,19 @@ a, } } } +} + +.circle-edit-form>form { + + input[type='submit'] { + @extend + .button, + .text-bold, + .text-uppercase, + .reversed, + .button-dark, + .bordered; + margin-left: auto; + margin-top: 3.2rem; + } } \ No newline at end of file diff --git a/src/styles/layout/circle/circle-profile.scss b/src/styles/layout/circle/circle-profile.scss index dff7131..51dc878 100644 --- a/src/styles/layout/circle/circle-profile.scss +++ b/src/styles/layout/circle/circle-profile.scss @@ -17,11 +17,6 @@ text-align: right; display: block; } - - .circle-edit-button { - align-self: flex-end; - position: absolute; - } } .box-button {