Adjust tags and accounts page (#4534)

* Adjust tag and accounts page

* Remove units from 0px paddings
rebase/4.0.0rc2
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;
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;
}

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;

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;
}

View File

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