mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 02:09:45 +00:00
Исправления стилей для контактной формы (вынес gap в переменную, увеличил его значение)
This commit is contained in:
1 parent
ca6f97c59e
commit
b4fdabc853
2 files changed
+13
-5
No files matched your search
@@ -1,4 +1,5 @@
|
||||
@import "../../assets/styles/theme.scss";
|
||||
$gap: 20px;
|
||||
$icon-size: 24px;
|
||||
$color-file-button: rgb(7, 42, 200);
|
||||
|
||||
@@ -19,7 +20,7 @@ $color-file-button: rgb(7, 42, 200);
|
||||
.inputs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
gap: $gap;
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
@@ -27,7 +28,7 @@ $color-file-button: rgb(7, 42, 200);
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
gap: 14px;
|
||||
gap: $gap;
|
||||
}
|
||||
|
||||
.file-input * {
|
||||
|
||||
@@ -1,9 +1,17 @@
|
||||
@import "../../components/ContactForm/ContactForm.styles.scss";
|
||||
|
||||
#page-contact {
|
||||
.top-block {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
flex: 1 1 50%;
|
||||
|
||||
margin-bottom: 2em;
|
||||
|
||||
h1 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
div:has(> ymaps) {
|
||||
|
||||
@@ -28,13 +36,12 @@
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.row:not(:has(.submit))>* {
|
||||
flex: 1 1 calc(50% - 7px);
|
||||
.row > * {
|
||||
flex: 1 1 calc(50% - ($gap / 2));
|
||||
}
|
||||
|
||||
.row:has(.submit)>* {
|
||||
margin: 0;
|
||||
flex: 1 1 calc(50% - 7px);
|
||||
max-width: 35%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user