diff options
author | silverwind <me@silverwind.io> | 2020-11-10 19:28:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 20:28:07 +0200 |
commit | 21d496364a5e654ba535d06269f6c6679b5c2d74 (patch) | |
tree | 6d69c6397dfd135c6e60537d3368152e996c9184 /web_src/less/helpers.less | |
parent | 9155f13bf859ae170892abd0bbb6860e4990263f (diff) | |
download | gitea-21d496364a5e654ba535d06269f6c6679b5c2d74.tar.gz gitea-21d496364a5e654ba535d06269f6c6679b5c2d74.zip |
Fix tooltips and issue dependency styles (#13458)
- Convert all tooltips to JS-based ones, fixing overflow issues
- Restyle issue dependencies/dependants
- Move popup styles to base style
- CSS Helper tweaks
- Unify pseudo element selectors and lint for it
Fixes: https://github.com/go-gitea/gitea/issues/13400
Diffstat (limited to 'web_src/less/helpers.less')
-rw-r--r-- | web_src/less/helpers.less | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/web_src/less/helpers.less b/web_src/less/helpers.less index be9adfa7a4..1322ba4169 100644 --- a/web_src/less/helpers.less +++ b/web_src/less/helpers.less @@ -4,9 +4,19 @@ .js { justify-content: flex-start !important; } .je { justify-content: flex-end !important; } .sb { justify-content: space-between !important; } -.mono { font-family: var(--fonts-monospace); font-size: .9em; /* compensate for monospace fonts being usually slighty larger */ } +.fc { flex-direction: column !important; } +.f1 { flex: 1 !important; } .rounded { border-radius: var(--border-radius) !important; } -.word-break { word-wrap: break-word; word-break: break-all; } + +.mono { + font-family: var(--fonts-monospace) !important; + font-size: .9em !important; /* compensate for monospace fonts being usually slighty larger */ +} + +.word-break { + word-wrap: break-word !important; + word-break: break-all !important; +} .m-0 { margin: 0 !important; } .m-1 { margin: .125rem !important; } |