Skip to content

Commit c23db66

Browse files
committed
feat: fix issue with css in tabs of ignored settings component
1 parent d78aa21 commit c23db66

File tree

2 files changed

+30
-27
lines changed

2 files changed

+30
-27
lines changed

src/components/settings/IgnoredSettings.vue

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,33 @@ export default {
103103
}
104104
}
105105
</script>
106+
107+
<style lang="scss">
108+
.tabs {
109+
display: grid;
110+
grid-template-columns: 1fr 1fr 1fr;
111+
column-gap: .5rem;
112+
margin-top: .4rem;
113+
margin-bottom: .5rem;
114+
a.button {
115+
display: inline-block;
116+
background-color: transparent;
117+
color: $secondary-font-color;
118+
height: 2.5rem;
119+
padding: 0 1rem;
120+
line-height: 2.5rem;
121+
font-size: 1rem;
122+
&.selected {
123+
border: 1px solid $color-primary;
124+
border-radius: 3px;
125+
color: $color-primary;
126+
&:hover { background-color: transparent; }
127+
}
128+
&:hover { background-color: transparent; }
129+
}
130+
@include break-mobile-sm {
131+
grid-template-columns: 1fr;
132+
}
133+
}
134+
.tabs-content { min-height: 29rem }
135+
</style>

src/views/Settings.vue

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -238,33 +238,6 @@ export default {
238238
}
239239
}
240240
241-
242-
.tabs {
243-
display: grid;
244-
grid-template-columns: 1fr 1fr 1fr;
245-
column-gap: .5rem;
246-
margin-top: .4rem;
247-
margin-bottom: .5rem;
248-
a.button {
249-
display: inline-block;
250-
background-color: #fff;
251-
color: #222236;
252-
height: 2.5rem;
253-
padding: 0 1rem;
254-
line-height: 2.5rem;
255-
font-size: 1rem;
256-
&.selected {
257-
border: 1px solid #ff6400;
258-
border-radius: 3px;
259-
color: #ff6400;
260-
}
261-
}
262-
@include break-mobile-sm {
263-
grid-template-columns: 1fr;
264-
}
265-
}
266-
.tabs-content { min-height: 29rem }
267-
268241
.boards-check-list {
269242
@include pad(0.5rem);
270243
margin-top: 0.25rem;

0 commit comments

Comments
 (0)