mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:29: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,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