Skip to content

Commit 6211d31

Browse files
committed
Fix header sizing and drawer border
1 parent 023d15e commit 6211d31

3 files changed

Lines changed: 34 additions & 26 deletions

File tree

frontend/src/components/drawers/RightDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
class="resize-bar"
1111
@mousedown="startResize"
1212
/>
13-
<div v-if="rightDrawer?.header" class="header flex items-center justify-between p-4 border-b gap-2">
13+
<div v-if="rightDrawer?.header" class="header flex items-center justify-between p-4 border-b border-gray-200 gap-2">
1414
<div class="title clipped-overflow" data-el="right-drawer-header-title">
1515
<h1 class="text-xl font-semibold mb-0" :title="rightDrawer.header.title">{{ rightDrawer.header.title }}</h1>
1616
</div>

frontend/src/stylesheets/common.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ html, body, #app {
2424
flex: 1;
2525
}
2626

27-
h1, h2, h3 {
28-
font-weight: 500;
27+
@layer base {
28+
h1, h2, h3 {
29+
font-weight: 500;
30+
}
2931
}
3032

3133
#ff-app {

frontend/src/ui-components/stylesheets/ff-core.scss

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,32 +28,34 @@ body {
2828
overflow: hidden;
2929
}
3030

31-
h1 {
32-
font-weight: bold;
33-
font-size: $ff-funit-xl;
34-
line-height: 1.45 * $ff-funit-xl;
35-
margin-bottom: $ff-unit-lg;
36-
}
31+
@layer base {
32+
h1 {
33+
font-weight: bold;
34+
font-size: $ff-funit-xl;
35+
line-height: 1.45 * $ff-funit-xl;
36+
margin-bottom: $ff-unit-lg;
37+
}
3738

38-
h2 {
39-
font-weight: bold;
40-
font-size: $ff-funit-lg;
41-
line-height: 1.45 * $ff-funit-lg;
42-
margin-bottom: $ff-unit-sm;
43-
}
39+
h2 {
40+
font-weight: bold;
41+
font-size: $ff-funit-lg;
42+
line-height: 1.45 * $ff-funit-lg;
43+
margin-bottom: $ff-unit-sm;
44+
}
4445

45-
h3 {
46-
font-size: $ff-funit-md;
47-
line-height: 1.45 * $ff-funit-md;
48-
margin-bottom: $ff-unit-sm;
49-
font-weight: bold;
50-
}
46+
h3 {
47+
font-size: $ff-funit-md;
48+
line-height: 1.45 * $ff-funit-md;
49+
margin-bottom: $ff-unit-sm;
50+
font-weight: bold;
51+
}
5152

52-
h4 {
53-
font-size: $ff-funit-md;
54-
line-height: 1.45 * $ff-funit-sm;
55-
margin-bottom: $ff-unit-sm;
56-
font-weight: 500;
53+
h4 {
54+
font-size: $ff-funit-md;
55+
line-height: 1.45 * $ff-funit-sm;
56+
margin-bottom: $ff-unit-sm;
57+
font-weight: 500;
58+
}
5759
}
5860

5961
code {
@@ -70,3 +72,7 @@ p code {
7072
font-size: $ff-funit-sm;
7173
color: $ff-grey-400;
7274
}
75+
76+
hr {
77+
color: $ff-grey-200;
78+
}

0 commit comments

Comments
 (0)