Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions app/theme/client/imports/general/base_old.css
Original file line number Diff line number Diff line change
Expand Up @@ -1495,6 +1495,15 @@ rc-old select,
border-bottom: none;
}

& .add-token {
display: flex;

& .rc-select {
width: 40%;
margin: 0 0 0 10px;
}
}

&:first-child {
padding-top: 0;
}
Expand Down Expand Up @@ -4978,6 +4987,15 @@ rc-old select,
display: none;
}
}

.add-token {
display: block !important;

& .rc-select {
width: auto !important;
margin: 10px 0 !important;
}
}
}

@media (width <= 500px) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div class="section-content border-component-color">
<div class="input-line double-col">
<label for="tokenName" class="setting-label">{{_ "API_Personal_Access_Tokens_To_REST_API"}}</label>
<div style="display: flex;">
<div class="add-token">
<div class="setting-field" style="flex-grow: 1;">
<input type="text" class="rc-input__element js-search" name="tokenName" id="tokenName"
placeholder={{_ "API_Add_Personal_Access_Token"}} autocomplete="off" />
Expand All @@ -20,8 +20,8 @@
</select>
{{> icon block="rc-select__arrow" icon="arrow-down"}}
</div>
<button name="add" class="rc-button rc-button--primary setting-action save-token">{{_ "Add"}}</button>
</div>
<button name="add" class="rc-button rc-button--primary setting-action save-token">{{_ "Add"}}</button>
</div>
</div>
</form>
Expand Down