Skip to content
This repository was archived by the owner on May 14, 2025. It is now read-only.

Commit a02f167

Browse files
oodamienjvalkeal
authored andcommitted
Label component: fix text positioning
Resolves #935
1 parent eb9b3fa commit a02f167

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22
.label {
3-
border-radius: 10px;
3+
border-radius: 12px;
44
font-size: 12px;
55
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
.label {
3-
border-radius: 10px;
3+
border-radius: 12px;
44
font-size: 12px;
55
background: #87939f;
66
position: relative;
77
padding-left: 22px;
88
i.fa {
99
position: absolute;
10-
top: 4px;
10+
top: 5px;
1111
left: 6px;
1212
}
1313
}

ui/src/scss/components/_buttons.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ $btn-light: $navy-1;
88
text-transform: none;
99
letter-spacing: 0;
1010
height: 34px;
11+
line-height: 32px;
1112
font-weight: normal;
1213
font-size: 15px;
1314
span.fa {

ui/src/scss/layout/_content.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
height: 28px;
151151
margin: 2px 2px;
152152
width: 160px;
153-
line-height: 28px;
153+
line-height: 30px;
154154
font-size: 15px;
155155
cursor: pointer;
156156
color: #3d4b53;

ui/src/scss/pui-variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ $underline-gray: linear-gradient(rgba(0, 0, 0, 0) $u-top, $underline-gray $u-top
284284
// Typography
285285
// -------------------------
286286

287-
$font-family-sans-serif: 'Source Sans Pro', 'SourceSansPro', sans-serif;
287+
$font-family-sans-serif: 'SourceSansPro', 'Source Sans Pro', sans-serif;
288288
$font-family-serif: Georgia, "Times New Roman", Times, serif;
289289
$font-family-monospace: Menlo, Consolas, "Courier New", monospace;
290290
$font-family-base: $font-family-sans-serif;

ui/src/scss/styles.scss

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ div.tooltip-version {
179179
z-index: 100;
180180
h1.dataflow-page-head-title {
181181
font-size: 20px;
182-
padding: 16px 0;
182+
padding: 18px 0 14px;
183183
line-height: 26px;
184184
strong {
185185
font-weight: 600;
@@ -199,7 +199,7 @@ div.tooltip-version {
199199
color: $navy-1;
200200
display: block;
201201
padding: 12px 15px;
202-
line-height: 24px;
202+
line-height: 28px;
203203
margin: 6px 4px 6px 4px;
204204
cursor: pointer;
205205
&:hover {
@@ -208,7 +208,7 @@ div.tooltip-version {
208208
}
209209
}
210210
app-page-head-subtitle {
211-
padding: 14px 0 14px 15px;
211+
padding: 16px 0 12px 15px;
212212
line-height: 32px;
213213
}
214214
}
@@ -404,7 +404,7 @@ em.required {
404404

405405
.label {
406406
display: inline;
407-
padding: .2em .6em .3em;
407+
padding: .35em .85em .25em;
408408
font-size: 12px;
409409
font-weight: 400;
410410
text-transform: capitalize;
@@ -442,7 +442,6 @@ em.required {
442442
}
443443

444444
.label-apptype, .label-stream-status, .label-task-status, .label-job-status {
445-
padding: .25em 0.8em .3em;
446445
&.label-default {
447446
background-color: #87939f;
448447
}
@@ -479,7 +478,7 @@ em.required {
479478
.btn {
480479
height: 42px;
481480
padding: 0 30px;
482-
line-height: 38px;
481+
line-height: 40px;
483482
}
484483
}
485484

0 commit comments

Comments
 (0)