From 21d496364a5e654ba535d06269f6c6679b5c2d74 Mon Sep 17 00:00:00 2001 From: silverwind Date: Tue, 10 Nov 2020 19:28:07 +0100 Subject: 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 --- web_src/less/helpers.less | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'web_src/less/helpers.less') 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; } -- cgit v1.2.3