Skip to content

Commit b3c1216

Browse files
committed
Did some slight styling changes
1 parent 67e40e6 commit b3c1216

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

src/lib/components/list_input/list_input.svelte

+5-1
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,15 @@
7171
/* outline: 2px solid red; */
7272
}
7373
summary {
74-
margin-top: 10px;
74+
margin: 10px 0px;
7575
padding: 2px;
7676
border-radius: 5px;
7777
background-color: #ffffff;
7878
}
79+
details {
80+
padding: 0;
81+
background: transparent;
82+
}
7983
li {
8084
list-style-type: none;
8185
}

src/lib/components/questions/base/base_editor.svelte

+4-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
id="tab-01-{data.name}:{data.type}"
2020
checked={true}
2121
/>
22-
<label for="tab-01-{data.name}:{data.type}">Tab 1</label>
22+
<label for="tab-01-{data.name}:{data.type}">Editor</label>
2323
<div class="tab-content">
2424
<fieldset>
2525
<legend>Question Title</legend>
@@ -41,7 +41,7 @@
4141
</div>
4242

4343
<input type="radio" name="tabs-{data.name}:{data.type}" id="tab-02-{data.name}:{data.type}" />
44-
<label for="tab-02-{data.name}:{data.type}">Tab 2</label>
44+
<label for="tab-02-{data.name}:{data.type}">Preview</label>
4545
<div class="tab-content">
4646
<slot name="preview" />
4747
</div>
@@ -91,7 +91,7 @@
9191
--primary-text-color: #222;
9292
--secondary-text-color: #fff;
9393
--primary-bg-color: #222;
94-
--secondary-bg-color: #fff;
94+
--secondary-bg-color: #88cdd8;
9595
--tertiary-bg-color: #ddd;
9696
}
9797
@@ -121,13 +121,12 @@
121121
padding: 1rem 2rem;
122122
transition: background ease 0.3s;
123123
width: 100%;
124+
transform: translateX(10%);
124125
}
125126
126127
.tabs .tab-content {
127-
background: var(--secondary-bg-color);
128128
display: none;
129129
flex-grow: 1;
130-
padding: 1rem;
131130
width: 100%;
132131
}
133132

0 commit comments

Comments
 (0)