Skip to content

Commit 5aa3299

Browse files
committed
Adjust padding of tab headers
Signed-off-by: tdruez <[email protected]>
1 parent 135a86c commit 5aa3299

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scancodeio/static/main.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,9 @@
146146
cursor: not-allowed;
147147
color: var(--bulma-text-weak);
148148
}
149+
.tabs.is-narrow {
150+
--bulma-tabs-link-padding: 0.5em 0.75em;
151+
}
149152
.border-no-top-left-radius {
150153
border-bottom-left-radius: 6px;
151154
border-bottom-right-radius: 6px;

scanpipe/templates/scanpipe/tabset/tabset.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% load humanize %}
2-
<div class="tabs is-boxed mb-3">
2+
<div class="tabs is-boxed is-narrow mb-3">
33
<ul>
44
{% for tab_id, tab_data in tabset_data.items %}
55
<li{% if forloop.first %} class="is-active"{% endif %}>

0 commit comments

Comments
 (0)