Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Add styling to LinkModal.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
florianduros committed Dec 16, 2022
1 parent 2831d0f commit 5061d7e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
15 changes: 15 additions & 0 deletions res/css/views/rooms/wysiwyg_composer/components/_LinkModal.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,19 @@ limitations under the License.

.mx_LinkModal {
padding: 32px;

.mx_Dialog_content {
margin-top: 30px;
margin-bottom: 42px;
}

.mx_LinkModal_content {
display: flex;
flex-direction: column;
}

.mx_Dialog_primary {
// Override the default min-with of the primary button
min-width: 76px !important;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function LinkModal({ composer, isTextEnabled, onClose }: LinkModalProps)
onClose();
}}
description={
<>
<div className="mx_LinkModal_content">
{isTextEnabled && (
<Field
label={_td("Text")}
Expand All @@ -84,7 +84,7 @@ export function LinkModal({ composer, isTextEnabled, onClose }: LinkModalProps)
setFields((fields) => ({ ...fields, link: e.target.value }))
}
/>
</>
</div>
}
/>
);
Expand Down

0 comments on commit 5061d7e

Please sign in to comment.