diff --git a/webapp/src/components/properties/link/__snapshots__/link.test.tsx.snap b/webapp/src/components/properties/link/__snapshots__/link.test.tsx.snap
new file mode 100644
index 000000000..00dddfb53
--- /dev/null
+++ b/webapp/src/components/properties/link/__snapshots__/link.test.tsx.snap
@@ -0,0 +1,26 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`components/properties/link returns link properties correctly 1`] = `
+
+`;
diff --git a/webapp/src/components/properties/link/link.scss b/webapp/src/components/properties/link/link.scss
index e3b75a6f1..3cf38a236 100644
--- a/webapp/src/components/properties/link/link.scss
+++ b/webapp/src/components/properties/link/link.scss
@@ -6,6 +6,11 @@
width: 100%;
}
+ a {
+ padding: 0 8px; // increases clickable area for better UX
+ align-self: stretch;
+ }
+
.Link__button {
display: none;
flex: 0 0 24px;
@@ -39,5 +44,3 @@
}
}
}
-
-
diff --git a/webapp/src/components/properties/link/link.test.tsx b/webapp/src/components/properties/link/link.test.tsx
new file mode 100644
index 000000000..fb0599f6e
--- /dev/null
+++ b/webapp/src/components/properties/link/link.test.tsx
@@ -0,0 +1,26 @@
+// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
+// See LICENSE.txt for license information.
+
+import React from 'react'
+import {render} from '@testing-library/react'
+
+import '@testing-library/jest-dom'
+import Link from './link'
+
+describe('components/properties/link', () => {
+ test('returns link properties correctly', () => {
+ const component = (
+ {
+ return true
+ })}
+ />
+ )
+ const {container} = render(component)
+ expect(container).toMatchSnapshot()
+ })
+})