Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fc-pregmod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pregmodfan
fc-pregmod
Commits
ac2b6119
Commit
ac2b6119
authored
4 years ago
by
Arkerthan
Browse files
Options
Downloads
Patches
Plain Diff
fix space between button rows of the same option
parent
1c1c0461
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!6760
convert intro summary to new options system
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/gui/css/options.css
+6
-3
6 additions, 3 deletions
src/gui/css/options.css
src/gui/options.js
+1
-0
1 addition, 0 deletions
src/gui/options.js
with
7 additions
and
3 deletions
src/gui/css/options.css
+
6
−
3
View file @
ac2b6119
...
...
@@ -16,6 +16,10 @@ div.options-group div.description {
}
/* right side */
div
.options-group
div
.button-group
{
margin
:
6px
0
;
}
div
.options-group
span
.comment
{
color
:
gray
;
font-style
:
italic
;
...
...
@@ -26,9 +30,9 @@ div.options-group button {
color
:
var
(
--link-color
);
background-color
:
var
(
--button-color
);
border
:
none
;
/* outline instead of border */
/* left & right outline overlap each other so we don't have
a double border */
/* left & right outline overlap each other so we don't have a double border */
outline
:
solid
2px
var
(
--button-border-color
);
margin
:
6px
0
6px
2px
;
margin
-left
:
2px
;
}
div
.options-group
button
:hover
{
...
...
@@ -74,7 +78,6 @@ div.options-group input {
border
:
2px
solid
var
(
--button-border-color
);
min-width
:
unset
;
/* remove SC styling */
width
:
140px
;
margin
:
4px
0
;
}
div
.options-group
input
.number
{
...
...
This diff is collapsed.
Click to expand it.
src/gui/options.js
+
1
−
0
View file @
ac2b6119
...
...
@@ -197,6 +197,7 @@ App.UI.OptionsGroup = (function() {
let
anySelected
=
false
;
const
buttonGroup
=
document
.
createElement
(
"
div
"
);
buttonGroup
.
classList
.
add
(
"
button-group
"
);
for
(
const
value
of
option
.
valuePairs
)
{
if
(
value
.
mode
===
"
plain
"
)
{
/* insert custom SC markup and go to next element */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment