Skip to content

Commit

Permalink
Fix shorthand paddings and margins
Browse files Browse the repository at this point in the history
Signed-off-by: Mostafa Ahangarha <[email protected]>
  • Loading branch information
ahangarha committed Dec 24, 2023
1 parent 1a1660c commit 0e35bfa
Show file tree
Hide file tree
Showing 17 changed files with 41 additions and 27 deletions.
2 changes: 1 addition & 1 deletion core/css/apps.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/css/apps.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 8 additions & 4 deletions core/css/apps.scss
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,8 @@ kbd {
justify-content: space-between;
line-height: 44px;
min-height: 44px;
padding: 0 12px 0 14px;
padding-block: 0;
padding-inline: 14px 12px;
overflow: hidden;
box-sizing: border-box;
white-space: nowrap;
Expand All @@ -348,9 +349,11 @@ kbd {
/* TODO: forbid using img as icon in menu? */

&.svg {
padding: 0 12px 0 44px;
padding-block: 0;
padding-inline: 44px 12px;
:focus-visible {
padding: 0 8px 0 42px;
padding-block: 0;
padding-inline: 42px 8px;
}
}
&:first-child img {
Expand Down Expand Up @@ -805,7 +808,8 @@ $min-content-width: variables.$breakpoint-mobile - variables.$navigation-width -
}

.info-text {
padding: 5px 0 7px 22px;
padding-block: 5px 7px;
padding-inline: 22px 0;
color: var(--color-text-lighter);
}
input {
Expand Down
2 changes: 1 addition & 1 deletion core/css/guest.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/css/guest.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion core/css/guest.scss
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,8 @@ form .warning input[type='checkbox']+label {

/* Additional login options */
#remember_login {
margin: 18px 5px 0 16px !important;
margin-block: 18px 0 !important;
margin-inline: 16px 5px !important;
}

/* fixes for update page TODO should be fixed some time in a proper way */
Expand Down
2 changes: 1 addition & 1 deletion core/css/inputs.css

Large diffs are not rendered by default.

Loading

0 comments on commit 0e35bfa

Please sign in to comment.