Skip to content

Commit

Permalink
Align items
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrendel committed Mar 5, 2024
1 parent 6801d13 commit dde2a52
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
16 changes: 9 additions & 7 deletions app/resources/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -907,15 +907,17 @@ fieldset .field {
margin-bottom: unset;
}

.warning-plants-title-margin-top-25 {
margin-top: 25px !important;
@media screen and (min-width: 1024px) {
margin-top: 67px !important;
}
}

.warning-plants-title-centered {
position: relative;
top: 50%;
transform: translateY(-50%);
text-align: center;
margin-top: 2px;
@media screen and (max-width: 753px) {
margin-top: 23px;
top: unset;
transform: unset;
}
}

.warning-plants-content {
Expand Down
2 changes: 1 addition & 1 deletion app/views/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</div>
@else
<div class="warning-plants">
<div class="warning-plants-title warning-plants-title-margin-top-25 warning-plants-title-centered"><i class="far fa-check-circle is-color-yes"></i>&nbsp;{{ __('app.warning_plants_all_ok') }}</div>
<div class="warning-plants-title warning-plants-title-centered"><i class="far fa-check-circle is-color-yes"></i>&nbsp;{{ __('app.warning_plants_all_ok') }}</div>
</div>
@endif

Expand Down
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

0 comments on commit dde2a52

Please sign in to comment.