This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
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
8eb6d171e6
commit
a3e53bd442
4 changed files
with
11 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
app/javascript/styles/accounts.scss
+7
-1
app/javascript/styles/compact_header.scss
+1
-1
app/javascript/styles/containers.scss
+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
:
7
0
0
px
)
{
@media
screen
and
(
max-width
:
7
4
0
px
)
{
border-radius
:
0
;
box-shadow
:
none
;
}
@ -272,7 +272,7 @@
display
:
flex
;
flex-wrap
:
wrap
;
@media
screen
and
(
max-width
:
7
0
0
px
)
{
@media
screen
and
(
max-width
:
7
4
0
px
)
{
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
:
740
px
)
{
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
:
7
0
0
px
)
{
@media
screen
and
(
max-width
:
7
4
0
px
)
{
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?
Write
Preview
Loading…
Cancel
Save