From 77c00bccc6d63f429af0017cbb81c6a9fd3ccf95 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Wed, 26 Oct 2022 15:46:49 +0200 Subject: [PATCH] fix --- app/assets/stylesheets/extranet/layout/_default.sass | 9 +++++++++ app/views/extranet/account/show.html.erb | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/extranet/layout/_default.sass b/app/assets/stylesheets/extranet/layout/_default.sass index 36cf475dd..a5b9fc610 100644 --- a/app/assets/stylesheets/extranet/layout/_default.sass +++ b/app/assets/stylesheets/extranet/layout/_default.sass @@ -10,6 +10,15 @@ font-size: $small-font-size dd margin-bottom: px2rem(26) + a + transition: text-decoration 0.5s + text-decoration: underline + text-decoration-thickness: 1px + text-underline-offset: 4px + text-decoration-color: adjust-color(black, $alpha: -0.8) + &:hover + text-decoration-color: black + ul list-style: none diff --git a/app/views/extranet/account/show.html.erb b/app/views/extranet/account/show.html.erb index 8a19fc7fa..0e982359e 100644 --- a/app/views/extranet/account/show.html.erb +++ b/app/views/extranet/account/show.html.erb @@ -16,7 +16,7 @@ <%= kamifusen_tag @person.best_picture, width: 400, class: 'img-fluid person__portrait' if @person&.best_picture.attached? %> <div class="mb-4"> <%= link_to t('extranet.account.edit'), edit_account_path, class: 'btn btn-primary mb-2' %> - <%= link_to t('extranet.account.edit_personal_data'), edit_personal_data_path, class: 'btn btn-primary' %> + <%= link_to t('extranet.account.edit_personal_data'), edit_personal_data_path, class: 'btn btn-primary mb-2' %> </div> <%= render 'extranet/persons/details', person: @person unless @person.nil? %> </div> -- GitLab