Skip to content

Commit 82a0637

Browse files
author
Edwin Hoksberg
committed
Demo style fixes
1 parent 964b70e commit 82a0637

File tree

2 files changed

+21
-20
lines changed

2 files changed

+21
-20
lines changed

App.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,13 @@ export default {
5757
left: 0;
5858
right: 0;
5959
min-height: 300px;
60-
background: linear-gradient(90deg, #0359b5ff 0%, #f6ce01ff 100%);
61-
opacity: 0.5;
60+
background: v-bind(gradient);
6261
z-index: 0;
6362
}
63+
h1 {
64+
position: relative;
65+
z-index: 1;
66+
}
6467
.gpickr {
6568
margin: 30px 0;
6669
}

src/VueGpickr.vue

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -208,24 +208,22 @@ export default {
208208
</script>
209209

210210
<style lang="scss" scoped>
211-
::v-deep {
212-
.vc-sketch {
213-
box-shadow: none;
214-
padding: 10px;
215-
.vc-sketch-presets {
216-
display: none;
217-
}
218-
.vc-sketch-saturation-wrap {
219-
overflow: visible;
220-
}
221-
.vc-saturation-pointer {
222-
margin-top: -2px;
223-
}
224-
.vc-sketch-field {
225-
input {
226-
text-align: center;
227-
padding: 4px 0 3px;
228-
}
211+
:deep(.vc-sketch) {
212+
box-shadow: none;
213+
padding: 10px;
214+
.vc-sketch-presets {
215+
display: none;
216+
}
217+
.vc-sketch-saturation-wrap {
218+
overflow: visible;
219+
}
220+
.vc-saturation-pointer {
221+
margin-top: -2px;
222+
}
223+
.vc-sketch-field {
224+
input {
225+
text-align: center;
226+
padding: 4px 0 3px;
229227
}
230228
}
231229
}

0 commit comments

Comments
 (0)