Browse Source

Fix #6395 - overlapping profile name and domain (#7927)

master
Maciek Baron 6 years ago
committed by Eugen Rochko
parent
commit
cdfe51e325
2 changed files with 22 additions and 2 deletions
  1. +15
    -1
      app/javascript/styles/mastodon/forms.scss
  2. +7
    -1
      app/javascript/styles/mastodon/rtl.scss

+ 15
- 1
app/javascript/styles/mastodon/forms.scss View File

@ -352,7 +352,7 @@ code {
position: relative; position: relative;
.input input { .input input {
padding-right: 127px;
padding-right: 142px;
} }
.append { .append {
@ -366,6 +366,20 @@ code {
font-family: inherit; font-family: inherit;
pointer-events: none; pointer-events: none;
cursor: default; cursor: default;
max-width: 140px;
white-space: nowrap;
overflow: hidden;
&::after {
content: '';
display: block;
position: absolute;
top: 0;
right: 0;
bottom: 1px;
width: 5px;
background-image: linear-gradient(to right, rgba($classic-base-color, 0), $classic-base-color);
}
} }
} }
} }

+ 7
- 1
app/javascript/styles/mastodon/rtl.scss View File

@ -206,13 +206,19 @@ body.rtl {
} }
.simple_form .input-with-append .input input { .simple_form .input-with-append .input input {
padding-left: 127px;
padding-left: 142px;
padding-right: 0; padding-right: 0;
} }
.simple_form .input-with-append .append { .simple_form .input-with-append .append {
right: auto; right: auto;
left: 0; left: 0;
&::after {
right: auto;
left: 0;
background-image: linear-gradient(to left, rgba($classic-base-color, 0), $classic-base-color);
}
} }
.table th, .table th,

Loading…
Cancel
Save