Skip to content

Commit c6720b1

Browse files
committed
Fix tags row menu positioning in mobile devices
1 parent 064b52f commit c6720b1

6 files changed

Lines changed: 31 additions & 7 deletions

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).
66

7+
## [Unreleased]
8+
### Added
9+
* *Nothing*
10+
11+
### Changed
12+
* *Nothing*
13+
14+
### Deprecated
15+
* *Nothing*
16+
17+
### Removed
18+
* *Nothing*
19+
20+
### Fixed
21+
* Fix tags row menu positioning in mobile devices.
22+
23+
724
## [0.14.3] - 2025-06-16
825
### Added
926
* *Nothing*

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/playwright:v1.52.0-noble
1+
FROM mcr.microsoft.com/playwright:v1.53.0-noble
22

33
ENV NODE_VERSION 22.15
44
ENV TINI_VERSION v0.19.0

dev/tailwind.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22
@source '../node_modules/@shlinkio/shlink-frontend-kit';
33
@import '@shlinkio/shlink-frontend-kit/tailwind.preset.css';
44
@import '../src/tailwind.preset.css';
5+
6+
@layer base {
7+
:root {
8+
/* Temp alias fo header-height to tw-header-height, so that shlink-web-component uses the right value */
9+
--header-height: var(--tw-header-height);
10+
}
11+
}

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"@fortawesome/free-solid-svg-icons": "^6.7.2",
4747
"@fortawesome/react-fontawesome": "^0.2.2",
4848
"@reduxjs/toolkit": "^2.5.0",
49-
"@shlinkio/shlink-frontend-kit": "^0.9.11",
49+
"@shlinkio/shlink-frontend-kit": "^0.9.13",
5050
"@shlinkio/shlink-js-sdk": "^2.0.0",
5151
"react": "^18.3 || ^19.0",
5252
"react-dom": "^18.3 || ^19.0",

src/tags/TagsTableRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const TagsTableRow: FCWithDeps<TagsTableRowProps, TagsTableRowDeps> = ({ tag })
4848
{formatNumber(tag.visits)}
4949
</Link>
5050
</Table.Cell>
51-
<Table.Cell className="tw:lg:text-right tw:max-lg:absolute tw:max-lg:top-[-19px] tw:max-lg:right-0 tw:max-lg:p-0">
51+
<Table.Cell className="tw:lg:text-right tw:max-lg:absolute tw:max-lg:top-1.25 tw:max-lg:right-0 tw:max-lg:p-0">
5252
<RowDropdown menuAlignment="right">
5353
<RowDropdown.Item onClick={openEdit} className="tw:gap-1.5">
5454
<FontAwesomeIcon icon={editIcon} fixedWidth /> Edit

0 commit comments

Comments
 (0)