mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-17 18:51:10 +01:00
Make input .help texts position absolute so that it does not affect level negative when pop up, it also saves some space underneath
This commit is contained in:
@@ -622,6 +622,10 @@ form .field:not(.is-grouped) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.help {
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
// label with help-icon compensation
|
// label with help-icon compensation
|
||||||
.label-icon-spacing {
|
.label-icon-spacing {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class FileButtonAddons extends React.Component<Props> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
color = (selected: boolean) => {
|
color = (selected: boolean) => {
|
||||||
return selected ? "link is-selected" : null;
|
return selected ? "link is-selected" : "";
|
||||||
};
|
};
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
@@ -27,14 +27,14 @@ class FileButtonAddons extends React.Component<Props> {
|
|||||||
return (
|
return (
|
||||||
<ButtonAddons className={className}>
|
<ButtonAddons className={className}>
|
||||||
<div title={t("sources.content.sourcesButton")}>
|
<div title={t("sources.content.sourcesButton")}>
|
||||||
<Button action={this.showSources} className="reduced" color={this.color(!historyIsSelected)}>
|
<Button action={this.showSources} color={this.color(!historyIsSelected)}>
|
||||||
<span className="icon">
|
<span className="icon">
|
||||||
<i className="fas fa-code" />
|
<i className="fas fa-code" />
|
||||||
</span>
|
</span>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div title={t("sources.content.historyButton")}>
|
<div title={t("sources.content.historyButton")}>
|
||||||
<Button action={this.showHistory} className="reduced" color={this.color(historyIsSelected)}>
|
<Button action={this.showHistory} color={this.color(historyIsSelected)}>
|
||||||
<span className="icon">
|
<span className="icon">
|
||||||
<i className="fas fa-history" />
|
<i className="fas fa-history" />
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user