Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Tencent/tdesign-common
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 17d0a74f75281bb4abff81ed90184cc78c568aae
Choose a base ref
...
head repository: Tencent/tdesign-common
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b4fd76fd7cc57875a7f5d1f96041b76aa8e2c269
Choose a head ref
  • 3 commits
  • 3 files changed
  • 3 contributors

Commits on Jan 8, 2025

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    c569a21 View commit details

Commits on Jan 16, 2025

  1. Copy the full SHA
    01a5dbe View commit details
  2. ci: add PR_COMMENT_CI (#2027)

    * ci: add PR_COMMENT_CI
    
    * ci: add PR_COMMENT_CI
    liweijie0812 authored Jan 16, 2025
    Copy the full SHA
    b4fd76f View commit details
Showing with 18 additions and 10 deletions.
  1. +15 −0 .github/workflows/pr-comment-ci.yml
  2. +2 −2 style/web/components/image-viewer/_index.less
  3. +1 −8 style/web/components/menu/_index.less
15 changes: 15 additions & 0 deletions .github/workflows/pr-comment-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: PR_COMMENT_CI

on:
issue_comment:
types: [created]

jobs:
auto-pr:
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request }}
steps:
- name: Auto PR
uses: TDesignOteam//tdesign-pr-trigger-action@develop
with:
token: ${{ secrets.TDESIGN_BOT_TOKEN }}
4 changes: 2 additions & 2 deletions style/web/components/image-viewer/_index.less
Original file line number Diff line number Diff line change
@@ -84,10 +84,10 @@
animation: @anim-duration-base @anim-time-fn-ease-in modal-mask-show;

&.@{prefix}-is-hide {
animation: @anim-duration-base @anim-time-fn-ease-out modal-mask-hide;
animation: @anim-duration-base @anim-time-fn-ease-out modal-mask-hide forwards;

.@{prefix}-image-viewer__modal-pic .@{prefix}-image-viewer__modal-box {
animation: @anim-duration-base @anim-time-fn-ease-out modal-image-hide;
animation: @anim-duration-base @anim-time-fn-ease-out modal-image-hide forwards;
}
}

9 changes: 1 addition & 8 deletions style/web/components/menu/_index.less
Original file line number Diff line number Diff line change
@@ -105,16 +105,13 @@ a.@{prefix}-menu__item {
padding: 0 @comp-paddingLR-l;
justify-content: center;
transition: all @anim-duration-slow cubic-bezier(.645, .045, .355, 1);
gap: @comp-margin-m;
}

&__submenu {
border-top: 1px solid @head-menu-submenu-border-color;
padding-left: 0;
}

.@{prefix}-fake-arrow {
margin-left: @comp-margin-m;
}
}

// default-menu
@@ -528,10 +525,6 @@ a.@{prefix}-menu__item {
text-overflow: ellipsis;
border-radius: @border-radius-default;

> .@{prefix}-fake-arrow {
margin-left: @comp-margin-m;
}

::selection {
background: transparent;
}