Skip to content

Commit

Permalink
Logo with no text has unnecessary bottom padding. (#7166)
Browse files Browse the repository at this point in the history
* resolve #7163 Logo with no text has unnecessary bottom padding.

* work for #7163 update etalon

---------

Co-authored-by: OlgaLarina <olga.larina.dev@gmail.com>
  • Loading branch information
OlgaLarina and OlgaLarina committed Oct 17, 2023
1 parent ef1c380 commit cc8092b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/defaultV2-theme/blocks/cover.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
width: max-content;
top: 0;
bottom: 0;
gap: calcSize(1);
}

.sv-cover__cell--left {
Expand All @@ -84,7 +83,6 @@

.sv-cover__logo {
display: flex;
margin-bottom: calcSize(2);
}

.sv-cover__title {
Expand All @@ -99,6 +97,18 @@
font-weight: $font-surveytitle-weight;
}

.sv-cover__logo ~ .sv-cover__title {
margin-top: calcSize(4);
}

.sv-cover__logo ~ .sv-cover__description {
margin-top: calcSize(4);
}

.sv-cover__title ~ .sv-cover__description {
margin-top: calcSize(1);
}

.sv-cover__description {
display: flex;
}
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cc8092b

Please sign in to comment.