diff options
author | silverwind <me@silverwind.io> | 2024-03-24 19:23:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 18:23:38 +0000 |
commit | ec3d467f15a683b305ac165c3eba6683628dcb25 (patch) | |
tree | efcac44b28525ab5a131893e5eeab1771a5ae901 /web_src/css/shared | |
parent | 0a2f973de9b681a472c96bdfcd945978e88458d8 (diff) | |
download | gitea-ec3d467f15a683b305ac165c3eba6683628dcb25.tar.gz gitea-ec3d467f15a683b305ac165c3eba6683628dcb25.zip |
Migrate `gt-hidden` to `tw-hidden` (#30046)
We have to define this one in helpers.css because tailwind only
generates a single class but certain things rely on this being
double-class. Command ran:
```sh
perl -p -i -e 's#gt-hidden#tw-hidden#g' web_src/js/**/* templates/**/* models/**/* web_src/css/**/*
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src/css/shared')
-rw-r--r-- | web_src/css/shared/flex-list.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/shared/flex-list.css b/web_src/css/shared/flex-list.css index e1ad6e7f97..6217b45300 100644 --- a/web_src/css/shared/flex-list.css +++ b/web_src/css/shared/flex-list.css @@ -86,7 +86,7 @@ border-top: 1px solid var(--color-secondary); } -/* Fomantic UI segment has default "padding: 1em", so here it removes the padding-top and padding-bottom accordingly (there might also be some `gt-hidden` siblings). +/* Fomantic UI segment has default "padding: 1em", so here it removes the padding-top and padding-bottom accordingly (there might also be some `tw-hidden` siblings). Developers could also use "flex-space-fitted" class to remove the first item's padding-top and the last item's padding-bottom */ .flex-list.flex-space-fitted > .flex-item:first-child, .ui.segment > .flex-list > .flex-item:first-child { |