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
Make the privacy dropdown button not look strange when using top placement
Inspired by
8fe1f8d4ce
closed-social-glitch-2
Thibaut Girka
6 years ago
committed by
ThibG
parent
24f39c0841
commit
b230c04e00
2 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/javascript/flavours/glitch/features/composer/options/dropdown/index.js
+6
-0
app/javascript/flavours/glitch/styles/components/composer.scss
+ 1
- 0
app/javascript/flavours/glitch/features/composer/options/dropdown/index.js
View File
@ -168,6 +168,7 @@ export default class ComposerOptionsDropdown extends React.PureComponent {
const
computedClass
=
classNames
(
'composer--options--dropdown'
,
{
active
,
open
,
top
:
placement
===
'top'
,
}
)
;
// The result.
+ 6
- 0
app/javascript/flavours/glitch/styles/components/composer.scss
View File
@ -406,6 +406,12 @@
background
:
$
ui-highlight-color
;
transition
:
none
;
}
&
.
top
{
&
>
.
value
{
border-radius
:
0
0
4px
4px
;
box-shadow
:
0
4px
4px
rgba
(
$
base-shadow-color
,
0
.
1
)
;
}
}
}
}
Write
Preview
Loading…
Cancel
Save