Adjust tags and accounts page (#4534)

* Adjust tag and accounts page

* Remove units from 0px paddings
pull/4552/head
Lynx Kotoura 2017-08-08 03:33:06 +09:00 committed by Eugen Rochko
parent 8eb6d171e6
commit a3e53bd442
4 changed files with 11 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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