This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
mastodon
Watch
3
Star
0
Fork
2
Code
Issues
5
Pull Requests
0
Projects
0
Releases
3
Wiki
Activity
Browse Source
Toot context menu is now centered
closed-social-glitch-2
Ondřej Hruška
7 years ago
committed by
beatrix
parent
945c5812d3
commit
9f7a5aac1e
1 changed files
with
17 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+17
-0
app/javascript/styles/components.scss
+ 17
- 0
app/javascript/styles/components.scss
View File
@ -733,6 +733,23 @@
float
:
left
;
height
:
18px
;
width
:
18px
;
/
/
Dropdown
style
override
for
centering
on
the
icon
.
dropdown--active
{
position
:
relative
;
.
dropdown__content
.
dropdown__right
{
left
:
calc
(
50
%
+
3px
)
;
right
:
initial
;
transform
:
translate
(
-50
%
,
0
)
;
top
:
22px
;
}
&
:
:
after
{
right
:
1px
;
bottom
:
-2px
;
}
}
}
.
detailed-status__action-bar-dropdown
{
Write
Preview
Loading…
Cancel
Save