Extract ReactionDimension
out of MessageActionBar
The reactions bits were cluttering up `MessageActionBar` so they have now been extracted to a separate component.
This commit is contained in:
parent
09a9b2e15e
commit
576241236c
5 changed files with 107 additions and 76 deletions
|
@ -72,13 +72,3 @@ limitations under the License.
|
|||
.mx_MessageActionBar_optionsButton::after {
|
||||
mask-image: url('$(res)/img/icon_context.svg');
|
||||
}
|
||||
|
||||
.mx_MessageActionBar_reactionDimension {
|
||||
width: 42px;
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.mx_MessageActionBar_reactionDisabled {
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
|
25
res/css/views/messages/_ReactionDimension.scss
Normal file
25
res/css/views/messages/_ReactionDimension.scss
Normal file
|
@ -0,0 +1,25 @@
|
|||
/*
|
||||
Copyright 2019 New Vector Ltd
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
.mx_ReactionDimension {
|
||||
width: 42px;
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.mx_ReactionDimension_disabled {
|
||||
opacity: 0.4;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue