riot-web/src
Suguru Hirahara 0909bfeb38
Improve LinkPreviewWidget (#8881)
* Use shorthand for margin values

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Merge style declarations

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Merge style declarations

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Include mx_MatrixChat_useCompactLayout in mx_LinkPreviewWidget

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Include in mx_LinkPreviewWidget

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* yarn run lint:style --fix

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use spacing variables

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Use logical variables

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Prevent flex children blowout

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Wrap caption

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* yarn run lint:style --fix

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Set row-gap between image and caption

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Set column-gap between the caption and close button

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Rename the class name

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Decrease inline spacing

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2022-07-04 08:10:46 +02:00
..
@types
accessibility
actions
async-components/views/dialogs
audio
autocomplete
components Improve LinkPreviewWidget (#8881) 2022-07-04 08:10:46 +02:00
contexts
customisations
dispatcher
editor
effects
emojipicker
events
hooks
i18n/strings
indexing
integrations
mjolnir
models
notifications
performance
rageshake
resizer
settings
stores
toasts
usercontent
utils
widgets
workers
AddThreepid.ts
AsyncWrapper.tsx
Avatar.ts
BasePlatform.ts
BlurhashEncoder.ts
CallHandler.tsx
ContentMessages.ts
DateUtils.ts
DecryptionFailureTracker.ts
DeviceListener.ts
Editing.ts
HtmlUtils.tsx
IConfigOptions.ts
IdentityAuthClient.tsx
ImageUtils.ts
KeyBindingsDefaults.ts
KeyBindingsManager.ts
Keyboard.ts
Lifecycle.ts
Livestream.ts
Login.ts
Markdown.ts
MatrixClientPeg.ts
MediaDeviceHandler.ts
Modal.tsx
NodeAnimator.tsx
Notifier.ts
PageTypes.ts
PasswordReset.ts
PlatformPeg.ts
PosthogAnalytics.ts
PosthogTrackers.ts
Presence.ts
Registration.tsx
Resend.ts
Roles.ts
RoomAliasCache.ts
RoomInvite.tsx
RoomNotifs.ts
Rooms.ts
ScalarAuthClient.ts
ScalarMessaging.ts
SdkConfig.ts
Searching.ts
SecurityManager.ts
SendHistoryManager.ts
SlashCommands.tsx
Terms.ts
TextForEvent.tsx
Unread.ts
UserActivity.ts
UserAddress.ts
Views.ts
VoipUserMapper.ts
WhoIsTyping.ts
boundThreepids.ts
call-types.ts
createRoom.ts
email.ts
emoji.ts
group_helpers.tsx
identifiers.ts
index.ts
languageHandler.tsx
linkify-matrix.ts
phonenumber.ts
sendTimePerformanceMetrics.ts
sentry.ts
shouldHideEvent.ts
theme.ts
verification.ts