From 69b3160d482d2bf4ce89b5a4368e7435cef85fc0 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 23 Oct 2023 15:28:21 +0200 Subject: [PATCH] style fix --- src/wolnelektury/static/2022/more.scss | 8 +++++++- .../static/2022/styles/layout/_checkout.scss | 14 +++++++++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/wolnelektury/static/2022/more.scss b/src/wolnelektury/static/2022/more.scss index 6aa6caa3e..906f1f3de 100644 --- a/src/wolnelektury/static/2022/more.scss +++ b/src/wolnelektury/static/2022/more.scss @@ -266,9 +266,10 @@ form { a { display: flex; align-items: start; + gap: 0 10px; + flex-wrap: wrap; .buttonlike { - margin-right: 10px; background: #FFA500; //color: #083F4D; color: black; @@ -285,6 +286,11 @@ form { } .funding-bar-container { flex-grow: 1; + + display: contents; + @include rwd($B4) { + display: block; + } } } } diff --git a/src/wolnelektury/static/2022/styles/layout/_checkout.scss b/src/wolnelektury/static/2022/styles/layout/_checkout.scss index 870da2311..593794b5b 100644 --- a/src/wolnelektury/static/2022/styles/layout/_checkout.scss +++ b/src/wolnelektury/static/2022/styles/layout/_checkout.scss @@ -11,6 +11,7 @@ border-radius: 10px; width: 100%; height: 34px; position: relative; + flex: 1; span { position: absolute; top: 0; left: 0; @@ -18,13 +19,19 @@ background: #92BD39; border-radius: 10px; &:after { + white-space: nowrap; + color: #083F4D; + top: 0; left:10px; bottom: 2px; + @include rwd($B5) { + color: #FFFFFF; + right: 13px; + left: auto; + } margin: auto; position: absolute; - top: 0; right: 13px; bottom: 2px; content: attr(data-label); font-weight: bold; font-size: 15px; - color: #FFFFFF; display: flex; align-items: center; justify-content: center; @@ -36,7 +43,8 @@ display: flex; margin-top: 7px; justify-content: space-between; - align-items: center; + align-items: flex-start; + gap: 15px; p { margin: 0; font-weight: normal; -- 2.20.1