mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
Fix position of the message action bar on left side bubbles (#8398)
* Fix position of the message action bar on data-self=false bubble - Fix position of the bar on GenericEventListSummary as well - Override default value `right: 8px` of MessageActionBar Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Use variables for MessageActionBar Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Set the right property to [data-self=true] Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Remove space for "React" and "Reply" buttons inside MessageActionBar on the left side bubble inside ThreadView This commit removes space reserved for those buttons on deleted or "Unable to decrypt" message bubble inside ThreadView. Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
@@ -16,11 +16,14 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
.mx_MessageActionBar {
|
||||
--MessageActionBar-size-button: 28px;
|
||||
--MessageActionBar-size-box: 32px; // 28px + 2px (margin) * 2
|
||||
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
height: 32px;
|
||||
height: var(--MessageActionBar-size-box);
|
||||
line-height: $font-24px;
|
||||
border-radius: 8px;
|
||||
background: $background;
|
||||
@@ -64,8 +67,8 @@ limitations under the License.
|
||||
}
|
||||
|
||||
.mx_MessageActionBar_maskButton {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
width: var(--MessageActionBar-size-button);
|
||||
height: var(--MessageActionBar-size-button);
|
||||
|
||||
&:disabled,
|
||||
&[disabled] {
|
||||
|
||||
Reference in New Issue
Block a user