Browse Source

Adjust tags and accounts page (#4534)

* Adjust tag and accounts page

* Remove units from 0px paddings
master
Lynx Kotoura 7 years ago
committed by Eugen Rochko
parent
commit
a3e53bd442
4 changed files with 11 additions and 4 deletions
  1. +2
    -2
      app/javascript/styles/accounts.scss
  2. +7
    -1
      app/javascript/styles/compact_header.scss
  3. +1
    -1
      app/javascript/styles/containers.scss
  4. +1
    -0
      app/views/tags/show.html.haml

+ 2
- 2
app/javascript/styles/accounts.scss View File

@ -9,7 +9,7 @@
overflow: hidden;
position: relative;
@media screen and (max-width: 700px) {
@media screen and (max-width: 740px) {
border-radius: 0;
box-shadow: none;
}
@ -272,7 +272,7 @@
display: flex;
flex-wrap: wrap;
@media screen and (max-width: 700px) {
@media screen and (max-width: 740px) {
border-radius: 0;
box-shadow: none;
}

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

@ -3,9 +3,15 @@
font-size: 24px;
line-height: 28px;
color: $ui-primary-color;
overflow: hidden;
font-weight: 500;
margin-bottom: 20px;
padding: 0 10px;
overflow-wrap: break-word;
@media screen and (max-width: 740px) {
text-align: center;
padding: 20px 10px 0;
}
a {
color: inherit;

+ 1
- 1
app/javascript/styles/containers.scss View File

@ -3,7 +3,7 @@
margin: 0 auto;
margin-top: 40px;
@media screen and (max-width: 700px) {
@media screen and (max-width: 740px) {
width: 100%;
margin: 0;
}

+ 1
- 0
app/views/tags/show.html.haml View File

@ -4,6 +4,7 @@
.compact-header
%h1<
= link_to site_title, root_path
%br
%small ##{@tag.name}
- if @statuses.empty?

Loading…
Cancel
Save