Skip to content

Fix Fomantic's line-height causing vertical scrollbars to appear #26961

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Sep 13, 2023
4 changes: 3 additions & 1 deletion templates/repo/settings/webhook/base_list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@
{{range .Webhooks}}
<div class="item truncated-item-container">
<span class="text {{if eq .LastStatus 1}}green{{else if eq .LastStatus 2}}red{{else}}grey{{end}} gt-mr-3">{{svg "octicon-dot-fill" 22}}</span>
<a class="text truncate gt-f1 gt-mr-3" title="{{.URL}}" href="{{$.BaseLink}}/{{.ID}}">{{.URL}}</a>
<div class="truncated-item-container gt-f1 gt-mr-3">
<a class="text truncate" title="{{.URL}}" href="{{$.BaseLink}}/{{.ID}}">{{.URL}}</a>
</div>
<a class="muted gt-p-3" href="{{$.BaseLink}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
<a class="delete-button gt-p-3" data-url="{{$.Link}}/delete" data-id="{{.ID}}">{{svg "octicon-trash"}}</a>
</div>
Expand Down
3 changes: 2 additions & 1 deletion web_src/css/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ img.ui.avatar,
}

.ui .text.truncate {
overflow-x: hidden;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
display: inline-block;
Expand Down Expand Up @@ -2166,6 +2166,7 @@ table th[data-sortt-desc] .svg {
.truncated-item-container {
display: flex !important;
align-items: center;
overflow-x: hidden;
}

.ellipsis-button {
Expand Down