leram84 / leram84/layer.Cake

Tooltips on top right buttons don't align well

Open
#14 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
127
Forks
16
PR merge metrics
No merged PRs in 30d

Description

I don't think the ombi and plex buttons in the top right corner are self-explanatory enough at first sight so I wanted to add bootstrap tooltips, but due to padding/margin (I think) they don't align well. The code looks like this:

<div class="row-bblur">
<!-- <<User Edit>> Replace ombi with the LOWERCASE name of this buttons destination tab -->
	<div tab="ombi" class="hp-link col-sm-3 col-lg-3">
		<div class="content-box orange-bg ombi" style="cursor: pointer;" data-toggle="tooltip" data-placement="bottom" title="Add request">
			<h1 style="margin: 10px" class="text-uppercase text-center">Ombi</h1>
			<div class="clearfix"></div>
		</div>
	</div>
<!-- <<User Edit>> Replace plex with the LOWERCASE name of this buttons destination tab -->
	<div tab="plex" class="hp-link col-sm-3 col-lg-3">
		<div class="content-box orange-bg plex" style="cursor: pointer;" data-toggle="tooltip" data-placement="bottom" title="View media library">
			<h1 style="margin: 10px" class="text-uppercase text-center">Plex</h1>
			<div class="clearfix"></div>
		</div>
	</div>
</div>

The result looks like this:

image

Is there a way to fix this?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the supplied top-right button markup and compare its padding and margins with Bootstrap 3.3 tooltip behavior. Check the tooltip positioning around the Ombi and Plex buttons; the work is done when both tooltips align correctly without disrupting the buttons.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.