From 3b49ddadeefef7e48957f5b27e55f040f8f013eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABlle=20Morin?= Date: Tue, 5 Nov 2019 15:00:10 +0100 Subject: [PATCH] ok title + button. --- src/page-admin-circles.pug | 7 +++++-- src/styles/layout/circle/circle-edit.scss | 11 +++++++++++ src/styles/layout/circle/circle-profile.scss | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/src/page-admin-circles.pug b/src/page-admin-circles.pug index b28cd5f..1045981 100644 --- a/src/page-admin-circles.pug +++ b/src/page-admin-circles.pug @@ -55,9 +55,12 @@ div.content-box__info - sib-link(class='circle-add-button button yellow-button', next='admin-circle-create') Create a new circle + + div.admin-header - h3 Circles + div.admin-header__title Circles + + sib-link(class='circle-add-button button yellow-button', next='admin-circle-create') Create a new circle div.table-header div.cell Name diff --git a/src/styles/layout/circle/circle-edit.scss b/src/styles/layout/circle/circle-edit.scss index 1ff4aef..70822f7 100644 --- a/src/styles/layout/circle/circle-edit.scss +++ b/src/styles/layout/circle/circle-edit.scss @@ -244,3 +244,14 @@ } } } + +.admin-header{ + display: flex; + justify-content: space-between; + margin-bottom: 5rem; + + .admin-header__title { + @extend h3; + } +} + diff --git a/src/styles/layout/circle/circle-profile.scss b/src/styles/layout/circle/circle-profile.scss index 88c96f8..aa97566 100644 --- a/src/styles/layout/circle/circle-profile.scss +++ b/src/styles/layout/circle/circle-profile.scss @@ -18,7 +18,7 @@ display: block; } - .circle-edit-button, .circle-add-button { + .circle-edit-button { align-self: flex-end; position: absolute; }